This App is designed to manage and track Todos, providing a digital solution for various industries that struggle with task management. Below, you will find short details about the available function.
- Endpoint:
/api/users/register
- Method: POST
- Description: Register a new user.
- Endpoint:
/api/users/login
- Method: POST
- Description: Authenticate and log in as a registered user.
- Endpoint:
/api/todos
- Method: GET
- Description: Retrieve all Todos.
- Endpoint:
/api/todos
- Method: POST
- Description: Create new Todo. (Only Manager have access)
- Endpoint:
/api/todos/:id
- Method: PUT
- Description: Update Todo progression.
- Endpoint:
/api/todos/:id
- Method: Delete
- Description: Delete Todo. (Only the Assignor that can delete its own Todos)
-
Create a Firebase project on the Firebase Console (https://console.firebase.google.com/).
-
Install the Firebase CLI tools if you haven't already:
npm install -g firebase-tools
. -
Authenticate with Firebase using
firebase login
. -
Initialize Firebase in your project directory using
firebase init
. Select the options for Hosting, and choose your Firebase project. -
Build your React app for production using
npm run build
. -
Deploy your app to Firebase Hosting using
firebase deploy
. -
Your Todo List app is now deployed and accessible via a Firebase Hosting URL.