For development, you will only need Node.js, MongoDB and project dependencies.
-
Just go on official Node.js website and download the installer. Also, be sure to have
git
available in your PATH,npm
might need it (You can find git here). -
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs $ sudo apt install npm
-
You can find more information about the installation on the official Node.js website and the official NPM website.
If the installation was successful, you should be able to run the following command.
$ node --version
v8.11.3
$ npm --version
6.1.0
-
You can install mongodb locally by :
$ sudo apt install mongodb
$ git clone https://github.com/Devsoc-BPGC/Tiny-Url
$ cd Tiny-Url
$ npm install
$ node admintest.js
$ npm run dev
- Verifyfing whether the email registered is valid.
- Verifying whether the url entered is valid
- Fixing error of push coming sometimes
- remove redirects everywhere and give responses in the text mentioned at whatsapp
- fixing x-auth token verification. Any token is working
- passing x-auth token in headers
- check customCode does not contain spaces, new line character
- email checking isn't caps sensitive