Another TODO app for you to track what you need todo.
Please note that the admin-key.json
located at server/src/admin-key.json
is disabled. In order for the app to work, you need to follow these steps:
- Navigate to the Firebase Admin SDK page.
- In settings select Service Accounts.
- Download a new private key by clicking on the "Generate new private key" button.
- Rename the downloaded file to
admin-key.json
and replace the existing one in theserver/src/
directory. - Set up your Firestore database to the
/todos
path
Ensure that you keep the admin-key.json
file secure and do not share it publicly or check it into version control systems. It contains sensitive information that grants access to your Firebase project.
To get started follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run the following command to install the necessary dependencies:
yarn
yarn dev
This command will simultaneously start the client and server. The client is built using Vite, TypeScript, React, React Query, and React Router. Once started It can be accessed locally at http://localhost:5173
The backend server is built using Express and TypeScript with ts-node. It deploys locally on http://localhost:3000/ and provides the following API routes:
GET /all-todos - Retrieves all todos.
POST /new-todo - Creates a new todo.
PUT /update-todo/:id - Updates a todo by ID.
DELETE /delete-todo/:id - Deletes a todo by ID.
The application is hosted on Firebase, with a Firestore database. You can access the deployed application at. Firebase, and you can access the deployed application here ExtremeTodo.
Sorry to send you to an awesome website to read the write up, but notion is fun. Write Up here