Skip to content

This repository hosts a backend application for a Twitter clone, built using Node.js. It features a REST API with endpoints for user authentication and CRUD operations, and utilizes packages such as Express, Mongoose, Express-Validator, and JWT for managing routes, database interactions, input validation, and authentication.

Notifications You must be signed in to change notification settings

abdimussa87/twitter-mern-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Clone Backend using Node.js

This repository contains the code for a Twitter clone application's backend built using Node.js, a popular JavaScript runtime environment. The backend utilizes various packages such as Express, Mongoose, Express-Validator, and JSON Web Token (JWT) for managing routes, database interactions, input validation, and authentication, respectively.

Features

  • REST API endpoints for user authentication and CRUD operations.
  • User authentication using JWT.
  • Database operations using Mongoose.
  • Input validation using Express-Validator.
  • Hot reload using Nodemon.

Installation

To run the application, you will need to have Node.js and npm installed on your machine. Follow these steps:

  • Clone the repository: git clone https://github.com/abdimussa87/twitter-mern-backend
  • Install dependencies: npm install
  • Start the development server: npm start
  • Once the development server is running, you can access the backend API at http://localhost:8080.

File Structure

  • src/: Contains the source code for the application, including models, controllers, and routes.
  • package.json: Lists the project's dependencies and scripts.
  • README.md: Provides instructions and information about the project.

License

This project is licensed under the MIT License.

Feel free to contribute and improve the project by forking this repository and submitting pull requests.

About

This repository hosts a backend application for a Twitter clone, built using Node.js. It features a REST API with endpoints for user authentication and CRUD operations, and utilizes packages such as Express, Mongoose, Express-Validator, and JWT for managing routes, database interactions, input validation, and authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published