Welcome to the repository of the most amazing Todo application in history! This application is designed with the aim of providing the best user experience and helping you manage your tasks efficiently.
Just kidding, this is a simple todo application that we developed to learn the basics of team working. I hope you will find it useful and instructive.
- User authentication
- Add a task
- Mark a task as to-do, in-progress or done
- set specific deadlines
- View all tasks
- edit a task and show the change history
- delete a task
- React
- Golang
- MongoDB
- Docker
- Swagger
- MongoDB account
- Docker
- Clone the repository
$ git clone https://github.com/gdscduzceuniversity/todo-app-1.git
- Go to your MongoDB account and create a new
todo-app-1
cluster. - Create collections as follows:
users
collectiontasks
collection (specify as "clustered index collection" while creating)activites
collection
- Go to
Database Access
and create a new user withreadWrite
permissions. - Go to
Network Access
and add your IP address to the whitelist. - Go to
Clusters
and click onConnect
button. - Click on
Connect your application
and copy the connection string. - Go to the backend folder and create a
connection.env
file. - Paste the connection string to the
connection.env
file as follows:
MONGO_URI=<your-connection-string>
- To build the docker image, run the following command:
$ docker build -t todo-app-1 .
- To run the backend docker image, run the following command:
$ docker run -p 3000:3000 todo-app-1
- Congratulations! You have stood up the backend.
- coming soon...
- For connect to swagger ui go to http://127.0.0.1:3000/swagger/index.html
- Fork and create a pull request. We will review it as soon as possible.
- If you have any questions, feel free to open an issue.
- This project is licensed under the MIT License - see the LICENSE file for details.