hightech0827 / Node-Express-Server-with-TypeScript

MERN-Stack

Home Page:https://mern-stack-cyan.vercel.app/api-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Express Server with TypeScript

For help getting started with Node Express, view online documentation.

2. Clone the repo

$ https://https://github.com/asif-simform/MERN-Stack.git
$ cd MERN-Stack/backend

3. Install dependency

$ npm install

4. Starts the application in development using nodemon and ts-node to do hot reloading.

npm run dev

5. Starts the app in production by first building the project with npm run build, and then executing the compiled JavaScript at build/index.js.

npm run start

6. Builds the app at build, cleaning the folder first.

npm run build

7. Runs the jest tests once.

npm run test

8. Run the jest tests in watch mode, waiting for file changes.

npm run test:dev

9. Format your code.

npm run prettier-format

10. Format your code in watch mode, waiting for file changes.

npm run prettier-watch

πŸ“– App architecture

  • src
    • constants
    • db
    • middlewares
    • modules
      • users
    • routes
    • utils

πŸ’» Built With

πŸŽ‰ Features

  • Minimal
  • TypeScript v4
  • Testing with Jest
  • Linting with Eslint and Prettier
  • Pre-commit hooks with Husky
  • VS Code debugger scripts
  • Local development with Nodemon

πŸ›‘οΈ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Author

πŸ‘€ Asif Vora

🍰 Contributing

πŸ™ Support

This project needs a ⭐️ from you. Don't forget to leave a star ⭐️

About

MERN-Stack

https://mern-stack-cyan.vercel.app/api-docs/

License:MIT License


Languages

Language:TypeScript 66.9%Language:JavaScript 33.1%