Simple interview test for Full Stack Developer
- Clone the repository:
git clone https://github.com/MrKrrot/interview-test-filup.git
- Install dependencies:
npm install # Install server & client dependencies
- Set up environment variables:
DB_URI
: MongoDB URINODE_ENV
: Environment (development, production)PORT
: Server portVITE_API_URL
: API URL (e.g. http://localhost:5000) (NOTE: This environment variable is for the client)
# Build client & server
npm run build:api
npm run build:client
# Run server & client (production mode)
npm run start:api
npm run start:client
# Run server & client (development mode)
npm run dev:api
npm run dev:client