Skip to content

pacebuddies/Frontend

Repository files navigation

Getting started

Install and start app

1. Install system pre-requisites:

Next.js requires Node.js installed.

2. Setup npm and yarn:

npm i -g npm yarn

3. Install the dependencies:

yarn install

If yarn is not working in PowerShell type this command in PowerShell with administrator privileges

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

You need to create .env.local based on .env.local.example, in {} are values you need to change

STRAVA_CLIENT_ID={client id from strava}
STRAVA_CLIENT_SECRET={client secret from strava}
STRAVA_CLIENT_SCOPE=read,read_all,profile:read_all,activity:read,activity:read_all
STRAVA_CALLBACK_URL=http://localhost:3000
NEXTAUTH_SECRET=very_secret

To change the address of the API server go to .env.local and change the NEXT_PUBLIC_API_GATEWAY_ADDRESS variable

4. Start the dev server:

To start dev server run this command

npm run dev

or use your IDE to start the dev server

5. Open the app in the browser:

Open http://localhost:3000 with your browser to see the result.

Tools installed in project

About

PaceBuddies frontend in react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors