yeukfei02 / lunchPickerApi

Lunch picker is the tool to help you to answer where should I have lunch

Home Page:https://www.lunch-picker-api.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


lunchPickerApi

If you’re a working software engineer, you’ve probably encountered with one of the toughest questions, where should I have lunch?

Lunch picker is the tool you’ll turn to to answer this question.

documentation: https://documenter.getpostman.com/view/3827865/SzezdXuc?version=latest

api url: https://www.lunch-picker-api.com/

react admin url: https://lunch-picker-admin.vercel.app/

username: admin@admin.com
password: admin

Requirement

  • install yarn
  • install node (v16)
  • install mongodb

Testing and run

$ yarn

// development
$ yarn run dev

// production
$ yarn run start

// run test case
$ yarn run test

// lint code
$ yarn run lint

// format code
$ yarn run format

Docker

// build images and start container in one line
docker-compose up -d --build

// go inside container
docker exec -it <containerId> /bin/bash

// check container logs
docker logs <containerId>

// remove and stop container
docker-compose down

open localhost:3000

Contributing

Please refer to CONTRIBUTING.md

About

Lunch picker is the tool to help you to answer where should I have lunch

https://www.lunch-picker-api.com/

License:MIT License


Languages

Language:TypeScript 96.4%Language:JavaScript 3.2%Language:Shell 0.2%Language:Dockerfile 0.1%Language:Procfile 0.0%