Skip to content

Web-application developed on the following stack: 1.MongoDB 2.Express.js 3.React.js 4.Node.js

License

Notifications You must be signed in to change notification settings

green1971weekend/Link-shortener

Repository files navigation

Link Shortener

CI

Full-stack application based on MongoDB, Express, ReactJS, NodeJS technologies.

The main idea is to convert giving links by the user and provide a short version followed by the original link.

  • Comprehensive description on source code included.

Getting Started

  • Install Node.js;
  • To set up the environment, run the command: npm install;
  • To run the application in development mode, run the command npm run dev;
  • To create an artifact for client deployment, run the command npm run client:build

Application settings

For the correct application running, it is necessary to create the config directory in the root of project. After that create the default.json file in this folder.

{
    "port": Config desired port,
    "jwtSecret": "String for jwt encryption",
    "mongoUri": "Config mongodb database",
    "baseUrl": "Base web-application url"
}

For creation your own mongodb cluster follow this link

Build with

Server dependencies

  • npm install express mongoose
  • npm install -D nodemon concurrently (concurrently serves for launch simultaneously server and client parts)
  • npm i config
  • npm i bcryptjs
  • npm i express-validator
  • npm i jsonwebtoken
  • npm i shortid
  • npm install --save-dev cross-env

Client dependencies

  • npm i materialize-css@next
  • npm i react-router-dom

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Web-application developed on the following stack: 1.MongoDB 2.Express.js 3.React.js 4.Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published