Skip to content

Latest commit

 

History

History
55 lines (48 loc) · 1.46 KB

README.md

File metadata and controls

55 lines (48 loc) · 1.46 KB

Hackathon Template

CloudSystems hackathon template built with Node.js, Express.js, and EJS.
This template is free to use for personal and commercial use under the GNU GENERAL PUBLIC LICENSE

Project Tree

Hackathon Template
├─ README.md
├─ package.json
├─ public
│  ├─ css
│  │  └─ styles.css
│  ├─ images
│  └─ scripts
│     └─ script.js
├─ routes
│  └─ index.js
├─ server.js
└─ views
   ├─ index.ejs
   └─ partials
      ├─ footer.ejs
      └─ head.ejs

Using this template

1. Create new repository by clicking "Use this template"

Alt text

2. Make sure you have NodeJS installed

Open terminal and run this command:

$ node --version
v17.0.1

Note the current version of node is v17.0.1 at the time of writing (3/9/2022)

3. Install the required dependencies

$ npm install

4. Run the server

Once you have the template downloaded, run the command to start the server. You should see the server being hosted locally at port 3000.

$ node server.js
Hackathon Template listening at port: 3000

5. Accessing the Application

Now that you have started running the server on port 3000, you can access this port by going to your web browser and typing http://localhost:3000/.

The application should now be functional and running.
You can now edit this application for your own projects.