Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 968 Bytes

README.md

File metadata and controls

15 lines (14 loc) · 968 Bytes

Momentum

How to help this repo

fork the repo, create a new branch and code there so when you pull request it we can test the changes and then add it to the master branch.


How the folder/file system works

  • /assets
  • this folder contains our images, .css and .js files for the front end(what you use inside index.ejs).
  • /models
  • this folder is for our mongooseJS schemas for the DB (we only have the user schema now).
  • /routes
  • contains our api, meaning what happens when you log in what value goes where, how to add stuff to the db and so on
  • /views
  • our html files, they are .ejs files but don't worry! it's just standard html code with some javascript inside `<% %>` : that's how we talk from routes(back end) to here(front end).
  • app.js
  • our core node file, everything starts from here, all the modules and the logic starts here.