This is the api for the todo-list-react project.
Explore the docs »
·
Report Bug
·
Request Feature
I wanted to build an API for that Todos-Repo because some functionalities were not that great, and I couldn't find a way to use local storage properly, so I developed this simple but efficient backend.
In this project, I decided to use typeorm, which I find fantastic, because of its simple way to configure, and also because it has a lot of power when combined with typescript.
And to give the code a pattern, I used the VsCode prettier extension.
I used docker to create the containers for the database.
- Clone the repo
git clone https://github.com/lucfersan/api-todo-list-react
- Install NPM packages
yarn
- Create a docker container
docker run --name todosapp -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
- Create database named: todosapp
- Follow the .env.example to customize your own environment variables
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Lucas Fernandes - [email protected]