Giter Club home page Giter Club logo

users's Introduction

Users

Users App

Add, edit, and remove users, divisions, and titles.

Getting Started

  1. Clone the repo
    git clone https://github.com/nightwolfdev/users.git
  2. Navigate to the project folder
    cd users
  3. Install dependencies
    npm install
  4. Run both the api and app
    npm start
  5. Saving changes to either the apis or app will automatically refresh when npm start is initially run.

App

After running npm start, the app will automatically open at http://localhost:4200.

APIs

After running npm start, the api server will be available at http://localhost:9000.

Divisions

Method Endpoint Description
GET /divisions Get all divisions
GET /divisions/:id Get a specific division by id
PATCH /divisions/:id Update a specific division by id
POST /divisions Add a new division

Titles

Method Endpoint Description
GET /titles Get all titles
GET /titles/:id Get a specific title by id
PATCH /titles/:id Update a specific title by id
POST /titles Add a new title

Users

Method Endpoint Description
DELETE /users/:id Delete a specific user by id
GET /users Get all users
GET /users/:id Get a specific user by id
PATCH /users/:id Update a specific user by id
POST /users Add a new user

Database

Start with no data

After running npm start, if no database file exists, one will be created automatically called data.db.

Start with existing data

Create a copy of the data-sample.db file and rename it to data.db.

Delete existing data and start over

If you want to delete existing data, delete the data.db file. You can start over with no data or existing data.

Links

users's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.