Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Express Starter

Structure

  • src/controllers/: Handles API logic
  • src/models/: Mongoose models
  • src/routes/: API route definitions
  • src/config/: Database and configuration setup

How to Start

  1. Create a .env file and add your MongoDB URI: MONGO_URI=your_connection_string
  2. Install dependencies: npm install
  3. Start the server: npm start

API Endpoints

  • GET /api/users: Retrieve all users
  • POST /api/users: Create a new user

Technologies Used

  • Node.js
  • Express.js
  • MongoDB (with Mongoose)
  • dotenv for environment variable management

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages