Skip to content

Express + Mongoose API without any User or Security Features

Notifications You must be signed in to change notification settings

metinsaylan/unsafe-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unsafe API

This is a personal project for creating local API backends for automated tasks. It is not intended to be used in production environments.

Main entity "Item" can be used for testing CRUD operations on MongoDB.

Quick start

Copy .env-sample to .env, edit configuration. Run following commands:

   npm install
   nodemon server

Check status

http://localhost:4200/api/status

Add item

POST http://localhost:4200/api/item

{
  "name": "hello world",
}

Run Server as a Service

npm install pm2 -g
pm2 start server

About

Express + Mongoose API without any User or Security Features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published