React ReactStrap Bootstrap
NodeJS Express
PostgreSQL
Install's dependency for runnng app, first run this command before running main install
This instruction will install dependencies in both client and api.
This command will start api on port 5000 and client in development on port 3000
Load the db.pgsql file located at the root in your postgresql local install
Update the credentials of PostgreSQL in .env at api/ , a sample .env file is at the api/ directory by the name .env.example
Update the API URL in .env at client/ , a sample.env file is at the client/ directory by the name .env.example
If you have an ssl encripted database please add the certificate in the api folder by the name ca-certificate.crt or edit the same in 14 th line at db.js file at api/
Else comment the following lines in db.js
ssl: {
rejectUnauthorized: false,
cert: fs.readFileSync("./ca-certificate.crt").toString(),
},
The best option for scaling in amazon if the users exceed 1M is AWS Lambda Service. You only need to pay for what you use .