Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task 2 - Node.js API

Overview

This Node.js API project encompasses User Authentication with JWT, a Simple CRUD API, and a File Upload and Download API. It provides endpoints for registering and authenticating users, performing CRUD operations on resources, and uploading/downloading files.

Technologies Used

  • Node.js: Runtime environment for server-side JavaScript.
  • Express.js: Web framework for building RESTful APIs in Node.js.
  • MongoDB: NoSQL database for storing user data and resource details.
  • Mongoose: MongoDB object modeling for Node.js.
  • JSON Web Tokens (JWT): Used for user authentication and authorization.
  • Swagger: API documentation using the OpenAPI Specification.

Installation

  1. Clone the repository:
        https://github.com/Duyoofmp/userAuthAndFile
    
  2. Install dependencies:
    npm install
    

Usage

  1. Start the server: change directory to src folder then:

    node app.js
  2. Access the Swagger documentation by navigating to http://localhost:3000/api-docs in your web browser.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages