express-api-template
Version:
Project for quick express.js setup
63 lines (44 loc) • 2.16 kB
Markdown
# express-api-template




The express-api-template is a starter template for building a Node.js API using the Express.js framework. It is designed to provide a quick and easy way to get started with building a new API project, with support for both JavaScript and TypeScript.
This template includes the following features:
- A pre-configured Express.js server with basic mongodb setup.
- Support for both JavaScript and TypeScript.
- A simple example route to get you started.
- A pre-configured MVC architecture.
- A pre-configured ESLint configuration with examples.
- A pre-configured Prettier and Rome.
- A new scalable architecture.
To get started with this template, simply run the following command:
## Installation
To create a new project using this template, run the following command:
`npx express-api-template`
After command runs successfully follow this steps
1. Step 1 [OPTIONAL]:
- If you want to update all the dependency to the latest version
```bash
npm update
# or
yarn update
# or
pnpm update
```
2. Step 2:
- Run this command to install all the dependency
```bash
npm install
# or
yarn install
# or
pnpm install
```
3. Step 3:
- Set up you're .env file.
- Run "start" or "dev" command in terminal using you're package manager to start you're project.
## Connect with me
[](https://instagram.com/iam_harshil)
[](https://github.com/iamharshil)
[](https://www.linkedin.com/in/harshil-chudasama)