https://github.com/mohamedaflah/advanced_url-shortener
https://github.com/mohamedaflah/advanced_url-shortener
javascript jwt mongodb mongoose nodejs oauth2 passportjs rest-api swagger swagger-ui-express typescript
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohamedaflah/advanced_url-shortener
- Owner: mohamedaflah
- License: other
- Created: 2024-12-17T12:41:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-18T06:31:30.000Z (over 1 year ago)
- Last Synced: 2025-04-22T21:58:04.966Z (over 1 year ago)
- Topics: javascript, jwt, mongodb, mongoose, nodejs, oauth2, passportjs, rest-api, swagger, swagger-ui-express, typescript
- Language: TypeScript
- Homepage:
- Size: 298 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# URL shortener
This is a url shortener application users can efficiently short url
#
## Guild lines setup this project
Open Terminal and run the following commands
1. `git clone https://github.com/mohamedaflah/Advanced_URL-shortener.git`
2. create .env file in root of project directory and add .env data based .env.sample
3. `docker compose up`
4. You can open application at http://localhost:4200
5. Ensure the environment setup is complete by verifying that all required environment variables are properly configured as per the `.env.sample` file, Docker is installed and running on your system, and all necessary dependencies and tools are installed and set up correctly.
###### Please email me the required .env file details at mohamedaflah186@gmail.com to proceed further. Let me know if you need any additional information from my side. Looking forward to your response!
## step of authentication
1. open http://localhost:4200/api/auth/google in browser
2. select email
3. copay token from response after completing authentication
4. add this token in authentication header as Bearer token
## APi docs
#### http://localhost:4200/api-docs
## Api docs with swagger

## Application workflow
