Table of Contents
- Nicole Zeh (nz015) - UI/UX
- Jann Huschka (jh259) - UI/UX/Frontend
- David Hoffmann (dh100) - Frontend
- Dennis Sebastian Schmidt (dg085) - Backend
- Joel Dettinger (jd087) - Backend
A Link Shortener with a clear UI and Account Authentification. The User has additional Functions if he is logged in:
- Create a Shortened Link with a random generated Slug
- Expire Date is 30 Days
- History of created Links
- Custom Slug for shortened Link
- Editing/Deleting created links
- Set custom Expiration date
- See View Counter on Shortened Link
Our project consists of three mircoservices that are communicate with each other and use different Frameworks.
- Next.js
- React.js
- tailwindcss
- Cypress (Testing)
- node.js
- express.js
- JsonWebToken
- bcrypt
- mongoose
- jest (Testing)
- supertest (Testing)
The project can be either run localy with node.js (Version >12) for development by starting every service manually or in Docker by running the docker-compose. But if you run it without docker you need to provide a MongoDB Database.
In order to use node.js to start the project you need to be sure its installed. And also docker to run the containers.
Before your can run the project you need to create a .env File and copy the Content from the .env.sample File into it.
-
Get latest npm version
npm install npm@latest -g
-
Clone the repository
git clone https://gitlab.mi.hdm-stuttgart.de/mwa/ss22/saturn.git
-
Start Docker
-
Run and built Containers with docker-compose in
./Directorydocker-compose up
This will start the following Docker Containers:
| Name | Image | Port |
|---|---|---|
| frontend | link24_frontend | 3000 |
| backend | link24_backend | 8080 |
| mongo | mongo:latest | 27017 |
The Web App is now Locally available at: localhost:3000
Our endpoints are divided into three Categories:
The Design of our App was created in Figma: Wireframe
If you are not Logged in you have just the option to create a Link.
SignUp and create a Account to get additional Features.
If you are logged in you can create a custom Slug for your Links or set a expire Date. You also see your history of your Links and can change the original Url or see the Views.
If you have Questions you can write a E-Mail to our Developers:
- Nicole Zeh: E-Mail
- Jann Huschka E-Mail
- David Hoffmann E-Mail
- Dennis Sebastian Schmidt E-Mail
- Joel Dettinger E-Mail
Project Link: GitLab