Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavohenriqueschmitz/x-sky
Website of a fictional company called X-Sky.
https://github.com/gustavohenriqueschmitz/x-sky
css docker-compose golang html javascript postgresql
Last synced: 9 days ago
JSON representation
Website of a fictional company called X-Sky.
- Host: GitHub
- URL: https://github.com/gustavohenriqueschmitz/x-sky
- Owner: GustavoHenriqueSchmitz
- License: mit
- Created: 2022-07-13T18:40:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T13:11:41.000Z (3 months ago)
- Last Synced: 2024-11-18T21:51:30.515Z (2 months ago)
- Topics: css, docker-compose, golang, html, javascript, postgresql
- Language: CSS
- Homepage:
- Size: 8.89 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# X-Sky
It’s a website based on a fictional company, containing a homepage, registration page, and login page.
## Structure
### Website
- Main page
- Login page
- Registration page### Technologies
- HTML5
- CSS3
- Java Script
- Golang
- Node.js
- PostgresSQL
- Docker Compose## Project Startup Guide
**1** - Install the necessary technologies:- [Node.js V16.17.1](https://nodejs.org/en/download)
- [Golang V1.18.1](https://go.dev/dl)
- [Docker-Compose](https://docs.docker.com/compose/install)**2** - Clone the repository:
```
git clone "https://github.com/GustavoHenriqueSchmitz/X-Sky.git"
```### Back-end
**1** - Open a terminal, navigate to the `back-end` directory of the project and run:
```
docker-compose up
```**2** - Open another terminal, navigate to the same directory and run:
```
go run main.go
```**3** To create the database table, use the following SQL command:
```
create table users (
id serial primary key,
name varchar(255) not null,
last_name varchar(255) not null,
email varchar(255) unique not null,
password varchar(255) not null,
area_code varchar(2),
phone varchar(25),
perfil_photo text
);
```### Front-end
**1** - Open a terminal, navigate to the `front-end` directory of the project and run:
```
npm i
```**2** - After that, run:
```
node init_server.js
```## Usage Information
- Front-end initialized on port 3000.
- Back-end initialized on port 5000.
- PostgreSQL database initialized on port 5432.
- Database user: xsky
- Database password: xsky
- Database name: X-Sky## Author
**Gustavo Henrique Schmitz****Linkedin:** https://www.linkedin.com/in/gustavo-henrique-schmitz
**Portfolio:** https://gustavohenriqueschmitz.com
**Email:** [email protected]