Skip to content

Mugisha146/To-do-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To-do-API

Backend API for To-do list web app & Mobile app

How to use To-do-API

Table of contents

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.

Getting Started

To get started with the To-do API, follow these steps:

Installation

To get started with the Portfolio-backend API, follow these steps:

1.Clone the Repository:

https://github.com/Mugisha146/To-do-API.git
  1. Navigate to the project directory:
cd To-do-API

3.Install Dependencies:

npm install

4.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.

API Documentation

For detailed documentation on the API endpoints and how to interact with them, refer to the API Documentation. swagger API documentation

Running Tests

How to run tests:

$ npm run test

Technologies Used

  • 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.

Contributing

Contributions are welcome! If you have suggestions for improvements, please fork the repository and create a pull request with your changes.

Releases

No releases published

Packages

No packages published