Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 926 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 926 Bytes

login-test

Frontend for logic-test

Install dependencies using yarn

yarn install

Start development server

yarn start

Backend for login-test

cd backend

How To Run

  1. Start by installing all dependencies by running npm install
  2. Next create a .env file at the root of the project and copy everything from .env.example
  3. copy files from .env.example to .env using cp .env.example .envthen populate it with required values where necessary.

Database configuration

Note: please ensure that you have mysql installed locally and is running.

  1. Create database and update database name in .env

Important Commands

  • run npm i or npm install to install all dependencies
  • run npm run dev to start a dev server
  • run npm start in a production environment

Backend PORT : 3000

Open http://localhost:3000/