Skip to content

samgirma/To-Do_List_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To-Do List API

Difficulty:

  • Easy

Skills and Technologies Used:

  • REST API design using ExpressJS
  • JSON for data interchange
  • Basic authentication middleware
  • JWT for authentication
  • MongoDB for database

How to Use

1. Clone the Repository

First, clone the repository to your local machine:

git clone git@github.com:girmasamuel/To-Do_List_API.git

2. Navigate to the Cloned Repository

Navigate to the cloned repository:

cd To-Do_List_API

3. Set Up Configuration

Navigate to the src/config directory and set the database link in a configuration file (e.g., default.json):

{
    "port": "8080",
    "db_uri": "mongodb://localhost/todo-app"
}

4. Install Dependencies

In the root directory (To-Do_List_API), install the required libraries by running:

npm install

5. Start the Server

Start the server by running:

npm start

Troubleshooting

If nothing happens and the server terminates, navigate to the src/logs folder and check if any errors occurred. Debug the issues accordingly.

Contributing

If you encounter any issues, feel free to create a new issue and submit a pull request.

Thank You

Thank you for using the To-Do List API. If you have any questions or feedback, please let us know.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors