This is an assessment I did for the role of a NodeJS backend developer at Summitech
This application is built with the following technologies:
- NodeJS(v16.13.2)
- MYSQL(5.1.0)
- Font-awesome(4.7.0)
- NPM version 8.1.2
- Clone this Repository(Repo) with the following command
git clone https://github.com/Bonifaceebuka/summitech-node-developer-test.git
- Move to the DIR of the Repo
cd summitech-node-developer-test
- Install the necessary NPM packages with
npm install
- Save .env.example file as .env or run this command:
cp .env.example .env
- Open the .env file and set the Database configurations as follows:
DB_CONNECTION_DIALECT=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
APP_KEY=ANY_RANDOM_VALUE
DB_DATABASE=YOUR_DATABASE_NAME
DB_USERNAME=YOUR_SERVER_USERNAME
DB_PASSWORD=YOUR_DATABASE_PASSWORD (Leave it empty if you have none)
PORT=YOUR_PREFERRED_PORT_NUMBER - Import the database tables using summitech_inventory_db.sql file in 'db' folder of this project
- Start your server with
npm run dev
The complete API documentation for this project is published on Postman. You can access it using this link https://documenter.getpostman.com/view/16611684/2s935kNkPr