Skip to content

CloudComputing-Assignments/webapp

Repository files navigation


Webapp

Cloud Native Webapp

Prerequisites

Before you begin, ensure you have met the following requirements:


Build and Deploy

To build and deploy the web application locally, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/CloudComputing-Assignments/webapp.git
  2. Navigate to the project directory:

    cd webapp
  3. Install dependencies:

    npm install
  4. Set up the environment variables:

    • Create a .env file in the root directory of the project.
    • Add the following environment variables:
    ENVIRONMENT=development
    DB_HOST=localhost
    DB_USER=newUser
    DB_PASSWORD=password
    DB_NAME=database
    DB_PORT=3306
    PORT=3000
    HOSTNAME=localhost
    
    • Replace values for DB_USER, DB_NAME, and DB_PASSWORD with your MySQL database credentials.
  5. Run the application:

    npm start
  6. Access the web application:


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published