Skip to content

REST API with Node, Express, Typescript & MongoDB + Authentication

Notifications You must be signed in to change notification settings

Garabed96/simple-node-template

Repository files navigation

simple-node-template

Simple REST API built with Node, Express, TypeScript, and MongoDB. This project includes authentication and provides a strong foundation for building scalable and maintainable applications.

Version

1.0.0

Features

  • Node.js & Express: Web framework.
  • TypeScript: Superset of JavaScript with static types.
  • MongoDB: NoSQL database.
  • Authentication: Secure authentication implementation.
  • ESLint & Prettier: Code linting and formatting.
  • Nodemon: Development server that automatically restarts on code changes.

Installation

Make sure you have Node.js and MongoDB installed on your machine.

Clone the repository:

```bash git clone https://github.com/your-username/simple-node-template.git ```

Navigate to the project directory and install dependencies:

```bash cd simple-node-template npm install ```

Usage

Development

Start the development server:

```bash npm start ```

Lint and format your code:

```bash npm run lint npm run pretty ```

Production

Build the project:

```bash npm run build ```

Start the production server:

```bash npm run start:prod ```

Testing

Currently, no tests are specified. You can add tests and update the command in `package.json`.

```bash npm test ```

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

Not Licensed yet.

Acknowledgments

  • Node.js
  • Express
  • TypeScript
  • MongoDB
  • and more...

Author

Garo Nazarian - Initial work - Garabed96

About

REST API with Node, Express, Typescript & MongoDB + Authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published