Protypes of minor challenge for Corona Speedtester
Clone Repository
Run: npm install
npm run dev
Port: 3000
Backend server will run simultaniously
These variables should be filled in order to use all the apps functionalities.
You have to setup your own local mongo database. Download mongodb server first. Preferably use "mongodb://localhost/coronaspeedtestapi?synchronize=true" at MONGODB_URI.
MONGODB_URI=mongodb://localhost/coronaspeedtestapi?synchronize=true
MONGODB_DB=coronaspeedtestapi
GOOGLE_CLIENT_ID={GOOGLE CLIENT_ID}
EMAIL_USERNAME={renorm mail}
EMAIL_PASSWORD={renorm mail password}
NEXTAUTH_EMAILFROM=Renorm {renorm mail}
For referencing paths
NEXTAUTH_URL=http://localhost:3000
Request your own api key by signing up for eventgoose
EVENTGOOSE_API_KEY={eventgoose api key}
For referencing payments with eventgoose api
RESPONSECHECKOUT_URL=http://localhost:3000/api/tickets
MAPBOX_KEY={mapbox key}
Appbuild -> Components
Lib -> Separted libraries for use in multiple facets app
Models -> Database models
Pages -> Server side rendered front-end pages and api files
Public -> Fonts and media
Styles -> Global stylsheets
Util -> Db utilities\