The code for functionalprogramming.in
There are two apps in this project:
- API server at the root 
./ - Client UI in 
client/directory. 
git clone https://github.com/fpindia/functionalprogramming.in.git
cd functionalprogramming.in/
npm install
cd client
npm installnpm run devThis will:
- Build both the server and client code.
 - Start dev-servers for both the server and client code.
 - The client app is configured to proxy backend requests to the local Node server. (See 
"proxy"config) - Open a browser window the client dev-server URL.
 
Create a heroku app.
heroku createOr attach an existing app.
heroku git:remote -a <your app>Push to Heroku to deploy.
git push heroku masterThis deployment will automatically:
- detect Node buildpack
 - build the app with
npm installfor the Node servernpm run buildfor create-react-app
 - launch the web process with 
npm start- serves 
../client/build/as static files - customize by adding API, proxy, or route handlers/redirectors
 
 - serves 
 
👓 More about deploying to Heroku.