Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This is an app to test building an api with nodejs and express framework The app uses mongodb for storing data. You need to set up the connection string to mongodb to use it. The app is a RESTful API CRUD operations on a model product with validations using Joi library and custom validation middlewares.

NotificationsYou must be signed in to change notification settings

MainaGeorge/node-express-api

Repository files navigation

This is an app to test building an api with nodejs and express frameworkThe app uses mongodb for storing data. You need to set up the connection string to mongodb to use it.The app is a RESTful API CRUD operations on a model product with validations using Joi library and custom validation middlewares.

annonymous user can list out the products from the databaseannonymous user can get a product by idlogged in user can update or delete productslogged in user can see a list of all other users

You have to create a config file called .env at the root of the project. The file should hold the values:PORT=port number you wish to run the api onCONNECTION_STRING="mongodb connection string"API_VERSION="/api/v1"APP_SECRET="YOUR SECURE SECRET HERE"

About

This is an app to test building an api with nodejs and express framework The app uses mongodb for storing data. You need to set up the connection string to mongodb to use it. The app is a RESTful API CRUD operations on a model product with validations using Joi library and custom validation middlewares.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp