Simple link shortening
Live demo: lnkr.space
Frontend:
- React
- Chakra UI
- Axios
- React QR code
Backend:
- Koa
- Mongoose
- Clone repo:
https://github.com/vafomin/lnkr.git
- Run
cd lnkr
- Run
yarn install
for installing dependencies - Run MongoDB and create database
- Change the environment variables in the
.env
files - Run
yarn frontend
for starting frontend - Run
yarn server
for starting backend - Congratulations! By default, the site will start on localhost:3000 🎉
PORT
- specify the port to start the serverDATABASE
- Enter the address to connect to the MongoDBVITE_DOMAIN
- specify the address where the frontend is runningVITE_API
- specify the address where the server is running