Ensure you have the following installed on your local machine:
- NodeJS - A cross-platform JavaScript runtime
- ExpressJS - NodeJS application framework
- MySQL - A relational database management system
- Sequelize ORM - A promise-based Node.js ORM for relational databases
- Heroku - A container-based cloud platform as a service for deploying applications
- ClearDB - A cloud database as a service for MySQL applications
-
Clone or fork repo
- git clone https://github.com/supercede/e-wallet-app.git - cd e-wallet
-
Create/configure
.env
environment with your credentials. A sample.env.example
file has been provided. Make a duplicate of.env.example
and rename to.env
, then configure your credentials (ensure to provide the correct details). After configuring your database in accordance with the Sequelize config file (src/config/config.js
):- npm install - npm run db:seed
-
Run
npm run dev
to start the server and watch for changes