This is our website project for Rampage9911
First we must setup the server in order for it to run. First, open up a command window and navigate it to the repository. Run npm install -D
then run node index.js
to start it. The server shoud now be serving on http://localhost:1200
.
The server should start with the message of Server started
. If it doesn't, try these things:
- Delete the
node_modules
folder npm install -D
- Check your node.js installation
To auto-run the server on saving, you may want to use nodemon. Run npm install -g nodemon
to install it and run nodemon index.js
or npm run live
to start live-reloading.
The backend server is written in node.js (index.js
). The .ejs
files in the /views/pages
folder contain the actual pages that are served.
Happy coding!! 💻