Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

License

NotificationsYou must be signed in to change notification settings

Abha2001/Freemex2.0

Repository files navigation

A stock market simulation using Node, Express in the backend and VanillaJs in frontend with EJS templating.

Requirements

Getting started

Deployment

Deploying on Heroku

  • Create a Heroku account athttps://signup.heroku.com/login and download the Heroku CLI fromhttps://devcenter.heroku.com/articles/getting-started-with-nodejs#set-up.

  • Login to Heroku usingheroku login -i and providing your login credentials.

  • Change directory to the root of the project and define a Procfile, which would include explicit instructions to the start the application once it is deployed. In our case the Procfile would look something like this:web: npm start, which executes the commandnode index.js.

  • Deploy the app using the Heroku CLI tools by executing the following:

heroku create <project-name>git push heroku master
  • To ensure atleast one instance of the app is running, runheroku ps:scale web=1.

  • Configure the environment variables by usingheroku config:set <name of variable>=<value of variable>.

  • Set up a free MongoDB Atlas account athttps://www.mongodb.com/cloud/atlas and configure the database URL.

  • To open the app on the browser, runheroku open.

  • If there are any errors, they can be inspected usingheroku logs --tail.

Glimpses into the project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp