-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from arnavrneo/dev
[update/README]
- Loading branch information
Showing
9 changed files
with
44 additions
and
5 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
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,9 @@ | ||
# Frontend-Servers | ||
|
||
This directory contains the `docker-compose` file for running up both the frontend, the backend and the proxy server containers all at once. | ||
|
||
The container images are available on docker-hub, so the `compose.yaml` can be edited to pull the image instead of building them locally. The respective links are: | ||
- <a href="https://hub.docker.com/r/arnavneo/nextjs-frontend">Frontend Image</a>) | ||
- <a href="https://hub.docker.com/r/arnavneo/ejserver">Express Image</a> | ||
- <a href="https://hub.docker.com/r/arnavneo/nginx-proxy">Nginx Proxy</a> | ||
- <a href="https://hub.docker.com/r/arnavneo/goserver">Go Image</a> |
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,8 @@ | ||
# Frontend | ||
|
||
The frontend uses Nextjs framework and has the following pages: | ||
- Login Page | ||
- Signup Page | ||
- Url shortener dashboard | ||
|
||
`env.example` has been provided as the `.env` template. The frontend only requires `NEXT_PUBLIC_BACKEND_URL` environment variable to be present in the running system. Either create the `.env` or inject/set as the variable in the system. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,4 @@ | ||
# Servers | ||
|
||
- This directory contains the respective code for both the `express-js` and `go` backend along with the `nginx` reverseproxy. | ||
- The `compose.yaml` is the docker compose for running the above servers all at once. |
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,8 @@ | ||
# Infrastructure Creation | ||
|
||
The `services` directory contains the terraform code for creating the project Infrastructure on the AWS. It creates: | ||
- the security group that allows access on the following ports: | ||
- `22`: for `ssh` access | ||
- `3000`: the server where the frontend will be running | ||
|
||
- EC2 instance with the above security group attached. |