create-nrv-template
v0.0.1
Published
Designed to enable you to quickly build a robust and efficient backend API using powerful technologies.
Downloads
3
Maintainers
Readme
Nrv Template
Welcome to my Nrv template ! This template is designed to allow you to quickly create a robust and efficient backend api using powerful technologies.
Technologies Used
- ExpressJS: A minimalist and flexible web framework for Node.js.
- GraphQL with Apollo Server: A specification and library for interacting with APIs efficiently, with Apollo Server facilitating the creation of a GraphQL server in Node.js.
- MongoDB: A flexible and scalable NoSQL database.
- TypeScript: A programming language that adds static typing features to JavaScript for better security and maintainability.
- ESLint and Prettier with Airbnb style: Static code analysis and automatic formatting tools to ensure clean and consistent code, following coding style rules in line with Airbnb's quality standards.
Features
- Ready-to-use configurations for a smooth development experience.
- Authentication system already present in the template, allowing users to create an account, log in, with authentication middleware included.
- Well-thought-out folder architecture for optimal code organization.
- TypeScript support for static type checking and better code documentation.
How to Use
Install the template globally with the following command:
npm install -g create-nrv-template
Next, create a new API project by executing the following command:
npx create-nrv-template my-api
To run the server in development mode, use the command:
npm run dev
To run the server in production mode, use the command:
npm start
Contribution
Contributions are welcome ! Feel free to open an issue to report a bug or propose a feature request.