Skip to content

linux08/typescript-node-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple CRUD project used to manage developer details

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

The following are required installed and set up before starting this app

Node.js
Git 
Mongodb Database

Installing

To start this app, perform the following step in order

1. Clone this repo to your machine 
2. cd into the project
3. run "npm install" to install project dependencies
4. run "knex migrate:latest" to migrate files.Ensure you have knex cli installed on your machine
5. run "knex seed:run" to seed files.Ensure you have knex cli installed on your machine
5. Run the command "npm start"

Built With

  • Express - The node framework used

  • NPM - Dependency Management

  • Postgres - Relational database

  • Typescript

    Other usef link

  • knex seed:run --- to seed file

  • knex migrate:make create_users_table --- create table

  • knex migrate:latest -- run the latest migration

  • knex seed:run

learn knex migration and seeding -- https://gist.github.com/NigelEarle/70db130cc040cc2868555b29a0278261

https://devhints.io/knex

https://knexjs.org/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors