Backend of hospital information system.
- NodeJS
- Node Package Manager (NPM)
- Express
- Nanoid module
- Nodemon module
- Eslint module
- Install NodeJS.
sudo apt install nodejs
- Install Node Package Manager (NPM).
sudo apt install npm
- Install NPM modules.
npm install
- Create .env file. The file must contain these variables.
DB_NAME=myhospital
DB_USERNAME=myhospital
DB_PASSWORD=mypassword
DB_HOST=localhost
DB_PORT=3306
npm run dev