Skip to content

brasmith9/crud-nodejs

Repository files navigation

crud-nodejs

A simple CRUD project with Endpoints to submit and list users.

Quick Start

# Install dependencies
npm install
# create an .env file with .env.examples as template
# fill in the database
# start the server
npx modemon start

get user by email and password

# endpoint - /api/user

Making a post request to create a new user

# endpoint - /api/create

x-www-form-urlencoded body

  1. name
  2. email
  3. password

Making a put request to update a user

# endpoint - /api/update

x-www-form-urlencoded body

  1. name
  2. email
  3. password
  4. id

Making a delete request to delete a user

# endpoint - /api/update

x-www-form-urlencoded body

  1. id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published