Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2114b90
Showing
4 changed files
with
707 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.env | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Simple url shortener based on express.js REST API. | ||
================================================== | ||
|
||
First of all you must create *.env* file with the variable: | ||
` | ||
MONGO_URI=mongodb+srv://user:password@server/db | ||
` | ||
**You can create use a mongodb server at mongodb Atlas service for free.** | ||
|
||
# Install | ||
* git clone https://github.com/davidpoza/dps-url-shortener.git | ||
* npm Install | ||
* npm start | ||
* go localhost:3000 on your browser |
Oops, something went wrong.