Skip to content

Premade Nodejs template for your projects. Included features like error handling, Api responses, mongodb database

License

Notifications You must be signed in to change notification settings

Alokskj/nodejs-typescript-template

Repository files navigation

What to do after using this template

  1. Edit package.json to set the project name, version, description, and author.
  2. Edit the .prettierrc.json file with your preferred values.
  3. Delete this section from the README.md file.
  4. Start coding by editing the src/app.ts file!

Install

  1. Install node.js, yarn (or use npm).
  2. Clone this repository, and using a terminal navigate to its directory.
  3. Run yarn or npm install to install the dependencies.

Build & Run

  1. Copy the contents of the .env.example file to a .env next to it, and edit it with your values.
  2. Run yarn build or npm build to build the files.
  3. Run yarn start or npm start to start the application.
  • You can run yarn dev or npm dev to combine the 2 steps above, while listening to changes and restarting automatically.

About

Premade Nodejs template for your projects. Included features like error handling, Api responses, mongodb database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published