kis / sls-course-frontend

Front-end for the Serverless Framework course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


codingly.io

The Auction House

This front-end application is provided as-is, as a part of the Serverless Framework Bootcamp - Node.js, AWS & Microservices course.

Cloning and installing

Clone this repository.

git clone https://github.com/codingly-io/sls-course-frontend
cd sls-course-auctions-frontent

Install the NPM dependencies for this project.

npm install

Setting up variables

Create a .env file in the root folder of this project. You need to specify two variables:

  • REACT_APP_REFRESH_RATE: The rate at which auctions will be fetched (in milliseconds).

  • REACT_APP_AUCTIONS_ENDPOINT: Your Auction Service API endpoint.

  • REACT_APP_AUTH0_DOMAIN: Your Auth0 application domain.

  • REACT_APP_AUTH0_CLIENT_ID: Your Auth0 application client ID.

For an example, you can take a look at the .env.example file in this repository.

Running the application

You can run the application by typing in:

npm start

The application should now be running at http://localhost:3000.

About

Front-end for the Serverless Framework course


Languages

Language:JavaScript 93.1%Language:HTML 6.3%Language:Shell 0.4%Language:SCSS 0.2%