Skip to content

larssg/SeaCargo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeaCargo

This is an exercise in building a Node server, using a noSQL DB, and doing server-side templating using Jade.

Getting Started

If you want to download it and see how it works, you can simply clone the seed repository and install the dependencies. This is how to do it:

Downloading seed and installing node server

You must have node.js and its package manager (npm) installed. You can get them from http://nodejs.org/. To get the tools we depend upon npm. You can simply do (from the app root):

npm install

Create your own dataset

Examine how I connect to my MongoDB, in file bd.js. Create and use your own database, and populate it with the data in the JSON files, by running the import_database.js.

Run the Application

The simplest way to start the project is;

npm start

Now browse to the app at http://localhost:3000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.8%
  • HTML 31.2%