Skip to content

zaibugemi/seg27-paani-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INSTALL: open terminal in this folder, run 'npm install'

go through files in this order:
	server.js
	routes/userRoute.js
	controllers/userController.js
	models/userModel.js

gist of it is:
	define routes in a file in routes/
	define what happens when that route is visited in a file in controllers/.
	define the Model (class) and SQL queries pertaining to that model in a file in models/
	DONT FORGET TO IMPORT AND app.add() THE ROUTES IN SERVER.JS
	
Template Route, Controller and Model files provided. (emptyRoute.js etc)


	

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published