A Todo app to manage all your todos made in React.
- Vite (React - TypeScript)
- MongoDB
- Express
- Docker
To develop Todofy locally, you will need to clone this repository.
git clone https://github.com/Sheikh-JamirAlam/todo-app.git
cd todo-app
There are two ways to setup Todofy locally.
You'll also need to have Docker setup in your local machine.
Set up all the env vars outlined in the .env.example
file.
SECRET_KEY= <Secret string for jwt authentication>
MONGODB_URL= <Your mongodb url here>
Next you'll need to run this command in your terminal.
docker-compose up -d
You'll have Todofy running on http://localhost:8000
Set up all the env vars outlined in the .env.example
file inside the server folder.
You'll need two terminals for this to work. Run these commands in one terminal.
cd client
npm install
npm run dev
In the other terminal run the following commands.
cd server
npm install
npm run build
npm run start
You'll have Todofy running on http://localhost:5000