notcodev / simple-todo-api

πŸ“ A simple RESTful API for managing a to-do list with anonymous sessions. The API supports creating, reading, updating, and deleting to-do items, and includes a cron job to clean up expired sessions and associated to-dos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“ Simple TODO Api

A simple RESTful API for managing a to-do list with anonymous sessions. The API supports creating, reading, updating, and deleting to-do items, and includes a cron job to clean up expired sessions and associated to-dos.

How to start

First of all you need to clone this repository

git clone https://github.com/nothugofsea/simple-todo-api.git
cd simple-todo-api

Development environment

Create .env and specify environment variables. To start API in dev environment you need to install dependencies and start api using script from package.json

pnpm install

# For Windows
pnpm start:dev:windows
# For Linux / MacOS
pnpm start:dev:unix

About

πŸ“ A simple RESTful API for managing a to-do list with anonymous sessions. The API supports creating, reading, updating, and deleting to-do items, and includes a cron job to clean up expired sessions and associated to-dos.

License:MIT License


Languages

Language:JavaScript 95.6%Language:Dockerfile 4.4%