- This web application is for a user to paste a content and get a short url to share.
- NodeJS
- MongoDB
- Express
- REACT
- Material UI
The instructions for setting up project locally. To get a local copy up and follow these simple example steps.
This is the list of things you need to use the software and how to install them.
- npm
npm install npm@latest -g
-
Clone the repo
git clone https://github.com/somenisco/polyApi.git
-
Install NPM packages for backend part
npm install
-
Install NPM packages for frontend part
npm run client-install
-
Add a .env file in the root folder and add the followings
ATLAS_URI=
for mongodb setup
-
Run application locally
npm run dev
- User can paste text snippets or documents.
- User gets a short url after pasting their content.
- The saved content have a default expiration time of 1 day. They will be automatically removed from the database.
- User can view recently created snippets.
- User can manually delete or renew the expiration time of a content url.
- User gets track of ips accessing the content url.
- User can also encrypt their content with a key.
- User can paste a url and get a short url which will redirect to the original url.
- Home Page
- Recent snippets Page
- Snippet Page