- Node v18.x, NPM v8.x
- MySQL, MongoDB, Apache Cassandra
-
Run
npm install
in your terminal. -
Add .env file to root directory referencing .env-template .
-
Setup MySQL database.
- Run 1st script from migration.txt in your terminal to create new database.
- Add
config.json
file to/models/mysql/config
directory referencingconfg.json-template
. (Note: Use same database name from first script.) - Run 2nd and 3rd scripts from migration.txt to migrate and seed User table with dummydata.
Mongo and Cassandra databases are automatically created and filled with dummyUser data on first server load.
-
Run,
npm run dev
.
- /v1/user for MySQL.
- /v2/user for MongoDB.
- /v3/user for CassandraDB.