v~ 0.1.0
~ Install nodejs
~ Install npm
~ Install Nextjs
~ Install axios $~ npm i axios
~ Import axios package ~ import axios from "axios"
~ Get data
axios.get('https://findvc.vercel.app/api/a')
// get all angel investors
axios.get('https://findvc.vercel.app/api/vc')
// get all Venture capitalist
axios.get('https://findvc.vercel.app/api/gs')
// get all govt schemes
Or clone this project
$~ git clone https://github.com/sahilnetic/demo-findvc
$~ cd findvc
$~ npm install
$~ npm run dev
Your project will start on localhost:3000
You can deploy this nextjs app to vercel in two different ways, using vercel cli or using git
vercel cli
First we'll see how to deploy this project using vercel cli.
Install vercel if it's not installed.
$~ npm i -g vercel
// or install using yarn
$~ yarn global add vercel
// This will install vercel globally
$~ vercel
$~ vercel --prod
Crafted with ❤️ by @sahilnetic