Skip to content

The product aspect of the spinup.host service. Made in React and AntD

Notifications You must be signed in to change notification settings

sankalp-ranade/spinup-dash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to spinup-host-product 👋

Version

Product Side of spinup.host, an alternative to RDS

Prerequisites

  • You will need a GitHub Token, which you can get from,
https://github.com/settings/developers
  • Set the redirect URL to http://localhost:3000/login

  • Setup the tokens in the frontend first, create a .env file in the root of your frontend folder

  • In the .env file, add the following environment variable

REACT_APP_CLIENT_ID=4b2f989781687e3b6dc1 #only needed if using github authentication
REACT_APP_REDIRECT_URI=http://localhost:3001/login
REACT_APP_SERVER_URI=http://localhost:4434 # URL of the spinup API server
REACT_APP_GITHUB_SERVER=http://localhost:4434/githubAuth
  • You also need to setup environment variables in the backend folder
  • Go into the OauthBackend folder,
cd OauthBackend
  • Create the .env file, and set up the following environment variables
CLIENT_ID = <YOUR_CLIENT_ID>
CLIENT_SECRET = <YOUR_CLIENT_SECRET>

Install

  • First install all dependencies
cd spinup-dash && npm install
cd OauthBackend && npm install

Usage

  • To run the frontend
cd spinup-dash && npm start
cd OauthBackend && node index.js
  • To use the Docker image
docker build -t spinup .
docker run -itd -p 3000:3000 -v /home/src/app/node_modules -v $(pwd):/home/src/app spinup:latest

Authors

👤 Rajat Maheshwari, Hiten Sharma

Show your support

Give a ⭐️ if this project helped you!

About

The product aspect of the spinup.host service. Made in React and AntD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.8%
  • CSS 7.4%
  • HTML 2.3%
  • Other 0.5%