Skip to content

Example of a resume website running on Node.js

Notifications You must be signed in to change notification settings

tejaswinin5/a03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A03 Personal Website

A simple website using server-side:

  • Node.js platform
  • Express web framework
  • Morgan HTTP request logger
  • Body-Parser to automatically parse HTTP request bodies
  • NodeMailer for emailing contact form information
  • Nodemon for live updates
  • nconf to keep authorization information in a config.json file (not committed to repo)
  • MailGun (10,000 free emails)

and client-side:

Links

Development Tools

Get Started

  1. Open a command window in your c:\44563\a03 folder or from VS Code menu, chose View / Integrated Terminal
  2. Install nodemon globally with npm install -g nodemon
  3. Install the dependencies listed in package.json with npm install.
  4. Run nodemon to start the server. (Hit CTRL-C to stop.)
> npm install -g nodemon
> npm install
> nodemon

Open browser http://localhost:8081.

Set up Mailgun

  1. Sign up for an account at https://www.mailgun.com.
  2. Log in.
  3. Go to your dashboard athttps://app.mailgun.com/app/dashboard.
  4. Scroll down to get your "Domain Name".
  5. On the right, click the eye to view your private API key.
  6. Create a new config.json from the config.json.example.
  7. Set your domain name and private api key as found above.
  8. Add your private config.json to the .gitignore file.

Deploy to Heroku Free Hosting

  1. Register for a free Heroku account at https://www.heroku.com/.
  2. Download and install Heroku CLK https://devcenter.heroku.com/articles/heroku-cli.
  3. Log in to your Heroku cloud account.
  4. From your dashboard, click New and add a new project.
  5. Click the new project and click the Deploy tab.
  6. Click 'Open app' to run your app and view the Heroku URL in the browser.
  7. Open a Windows Command Window as Administrator, and run 'heroku login'.
  8. Open Git Bash in your project folder, add the heroku remote (Command 1 below).
  9. In Git Bash, push to your heroku remote (Command 2 below).
git remote add heroku https://git.heroku.com/resumesite563.git
git push heroku master

References

Express in Action: Writing, building, and testing Node.js applications by Evan M, https://www.manning.com/books/express-in-action

About

Example of a resume website running on Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published