Backend API for To-do list web app & Mobile app
Welcome to the To-do API! This API serves as the backend for managing user accounts and Task management. It provides various endpoints to interact with different entities within the system and built with Node.js, ExpressJs with Typescript and PostgreSQL.
To get started with the To-do API, follow these steps:
To get started with the Portfolio-backend API, follow these steps:
1.Clone the Repository:
https://github.com/Mugisha146/To-do-API.git- Navigate to the project directory:
cd To-do-API3.Install Dependencies:
npm install4.Set Environment Variables: Create a .env file in the root directory and add necessary environment variables. You may need to set variables like PORT, DATABASE_URL, and JWT_SECRET.
5.Start the Server:
npm start 7.Explore the API: Once the server is running, you can explore the API endpoints using tools like Postman or swagger.
For detailed documentation on the API endpoints and how to interact with them, refer to the API Documentation. swagger API documentation
How to run tests:
$ npm run test- Node.js: Backend JavaScript runtime environment.
- Express.js: Web application framework for Node.js used for building APIs.
- PostgreSQL: object-relational database management system used for storing data.
- JSON Web Tokens (JWT): Used for user authentication and authorization.
- Swagger/OpenAPI: Used for API documentation.
Contributions are welcome! If you have suggestions for improvements, please fork the repository and create a pull request with your changes.