Skip to content

Backend for the Media posting app build at IECSE Gensis 2019

Notifications You must be signed in to change notification settings

raghavdixit99/IECSE-Genesis-2019-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IECSE-Genesis-2019-API

Initialize a cockroach cluster first, create a database called iecse_genesis, and a user called maxroach, and grant all privilages(INSERT, CREATE, SELECT) to that user. ip and port can be edited in dj.js and in db-init.js

Then run node db-init.js to create the tables

Then start the server with node server.js

endpoints :

/getUserDetails /getAllPosts /getPosts/:category /addUser /addPost /makeFavourite /getFavourites

About

Backend for the Media posting app build at IECSE Gensis 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%