Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 1 KB

README.md

File metadata and controls

24 lines (23 loc) · 1 KB

WazirX Portfolio Tracker

This is a cryptocurrency portfolio tracking web app built using MERN stack. It uses Google OAuth2.0 for authentication and WazirX price list API for fetching latest price of cryptocurrencies.

Setting up local development

  • Setup a MongoDB server, either on your localhost or at MongoDB
  • Google OAuth
  • Backend
    • run npm i
    • create a .env file
    • Add the ID and Secret you got from OAuth in the .env file
    • PORT=5000
      DATABASE=<Mongo URL>
      SECRET=<Your Secret>
      NODE_GOOGLE_CLIENT_ID=<Your Client ID>
      NODE_GOOGLE_CLIENT_SECRET=<Your Client Secret>
      
    • run node server.js
  • Client
    • run npm i
    • run npm start