Skip to content

himti-paramadina/ingat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#PEMS

Development Preparation

Server Configuration

Create a file named config.js in the root directory with the following content:

module.exports = {
	app : {
		name: 'PEMS',
		protocol: 'http',
		port: 8080,
		version: '1.0.0'
	},
	mysql: {
		host: 'localhost',
		port: 3306,
		user: '<database user>',
		password: '<password>',
		database: '<database name>'
	},
	morgan: {
		mode: 'dev'
	}
};

Dependencies

Use the following command to install node.js dependencies for PEMS.

npm install

Run Server

To run PEMS server, use the following command:

node app.js

It's better to have nodemon command available. Install nodemon, and use the following command to run the server:

nodemon app.js

About

Algorithms & Programming Final Projects, Class of 2013

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published