Task Manager to stay organized every day.
- Install node.js.
- Install Docker and Docker Compose.
- Clone the repo:
git clone https://github.com/ClouddCoder/task-manager.git
- Install the dependencies in the project root:
npm install
- Create an
.envfile in the project root:
PORT = <SERVER_PORT>
JWT_SECRET = <JWT_PASSWORD> # The backend uses JWT to authenticate the user.
# Database configuration for deployment
DB_USER = <DB_USER_FOR_DEPLOYMENT>
DB_PASSWORD = <DB_PASSWORD_FOR_DEPLOYMENT>
DB_HOST = <DB_HOST_FOR_DEPLOYMENT>
DB_PORT = <DB_PORT_FOR_DEPLOYMENT>
DB_NAME = <DB_NAME_FOR_DEPLOYMENT>
DB_SSL = <1_OR_0> # If your database is hosted in a server, probably you need to set SSL.
# Database configuration for testing
DB_USER_DEV = <DB_USER_FOR_DEVELOPMENT>
DB_PASSWORD_DEV = <DB_PASSWORD_FOR_DEVELOPMENT>
DB_HOST_DEV = <DB_HOST_FOR_DEVELOPMENT>
DB_PORT_DEV = <DB_PORT_FOR_DEVELOPMENT>
DB_NAME_DEV = <DB_NAME_FOR_DEVELOPMENT>
DB_SSL_DEV = <1_OR_0>
This application can be deployed with docker compose. In the project root start a docker compose:
docker compose up
Then open a new tab in the browser and type localhost:3000.
Currently the Task Manager is a Containerized Application deployed with a Dockerfile in Render.com, and the database is hosted in ElephantSQL.
https://task-manager-sn3p.onrender.com