The absolute start-point of your next backend project
Report Bug
·
Request Feature
We all know that a project without a good structure is anything but scalable. It is hard to design your project thinking about how big it can become. This repo is an opinionated project structure for a Node.js API. It is built with Express.js, Mongoose and TypeScript but can easily be configured to match your developer taste.
- Full TypeScript support
- Feature-first project structure
- Easy input validation with Joi.js
- jwt stateless auth boilerplate
- Maintainable aproach in endpoints structuring
To get a local copy up and running follow these simple example steps.
- Clone the repo
git clone https://github.com/AlexandruRoman/next-node-project.git
- Install NPM packages
npm install
- Enter your Mongo connection string in
src/mongo.ts
const url = 'YOUR CONNECTION STRING'
Running the app in dev mode:
npm start
Creating a production build of the app:
npm run build
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.