I built a express api boilerplate with mongoose. It's open source and open to contribution #118660
Unanswered
Mohan1203
asked this question in
Programming Help
Replies: 1 comment
-
Thanks for posting in the GitHub Community, @Mohan1203! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category. The Discussions category is solely related to conversations around the GitHub product Discussions. This question should be in the Programming Help category. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Show & Tell
Body
I am a Node developer and I use Express for routing. The main problem with Express with that you have to start from scratch every time so decided to create a basic boilerplate for express. A boilerplate has some files and features. The features are authentication middleware, error handling middleware, centralized error handling, JWT token generation and token verification and user login and register route. I use Mongo as database and Mongoose as ORM so you have create MongoDB account and create dotenv file and create variable call DATABASE_URI and SERVER_PORT also create TOKEN_SECRET after you can use this bioler plate and want to change something feel free to do that
Github repository link:
just use
git clone https://github.com/Mohan1203/express_api_boilerplate
to clone repositoryBeta Was this translation helpful? Give feedback.
All reactions