This is a simple RESTful API with sequelize for managing todos. It allows you to perform CRUD (Create, Read, Update, Delete) operations on todos.
- Get all todos
- Create a new todo
- Mark a todo as completed
- Delete a todo
- Node.js
- Express.js
- Sequelize ORM
- PostgreSQL (or any other supported database)
- Node.js installed on your machine
- PostgreSQL (or any other supported database) installed and running
-
Clone the repository:
git clone https://github.com/CABON-TECH/sequilize-TODO-app.git
npm install
Make sure your PostgreSQL database is running. Configure your database connection in config/config.json.
npx sequelize-cli db:migrate
node server.js
GET /todos
POST /todos
{
"title": "Your todo title here"
}
PUT /todos/:id
DELETE /todos/:id
This project is licensed under the MIT License - see the LICENSE file for details.