Mfund Backend
Clone Repositories
Mfund Flutter app is a mono repo git project. We need to clone four repositories for flutter app.
mfund-app
mfund-api-service
mfund-framework
mfund-common-modules
mkdir mfund-backend
cd mfund-server-app
git clone <URL for mfund-server-app>
yarn install // You can use `npm install`Configure Database in
config/db-psql.jsfile.Get the Firebase admin key.json and add it in root directory.
Configure Firebase in
config/db-firebase.jsfile
Online PostgreSQL Databases
****Heroku
Configuration
// config.env
NODE_ENV=development
PORT=5000
JWT_ISSUER=geekyants
JWT_AUDIENCE=market-mfund-users
JWT_ACCESS_TOKEN_EXPIRES=1d
JWT_REFRESH_TOKEN_EXPIRES=10dJWT token header can be configured from
config/config.env.
Last updated
Was this helpful?