- Clone this repo:
git clone https://github.com/Ythosa/linker
; - Install dependencies:
npm install
; - Update the config file
config/default.json
using your data; - Run:
npm run dev
.
- Web Service for shortening links;
- Uses MongoDB, Express.js, React.js, Node.js;
- Involve:
- Registration and authentication by jwt token;
- Adding links;
- View detailed information on links that you have shortened:
- Initial link;
- Shorten link;
- Creation date;
- Number of clicks on the shortened link.
- Redirection from a shortened link to the original one.
npm run dev
- start application in development mode;npm run staet
- start application in production mode;npm run server
- start server with automatically restarting;npm run client:install
- install client app dependencies;npm run client:build
- build client app;npm run client
- start client app.
Copyright 2020 Ythosa