Skip to content

Latest commit

 

History

History
103 lines (70 loc) · 2.21 KB

README.md

File metadata and controls

103 lines (70 loc) · 2.21 KB

4fun-upload


Fullstack typescript/javascript

4fun-upload uses a stack full JS/TS on the frontend and backend, I'm making this project to improve my skills!

Node version

Use node v18.12.1

Initing in the your PC

  • For clone the project git clone https://github.com/Wellers0n/upload.git
  • Enter in the folder cd upload/

Install dependencies

yarn

Avoid conflict

  • WARNIGN: If starting the application with docker-compose, avoid conflicts

Mac

brew services stop --all

Linux

sudo service postgresql stop

Windows

pg_ctl -D "C:\Program Files\PostgreSQL\<Version>\data" stop

Init application

Init frontend, backend and postgres with docker-compose or via script

At the root directory, run the following command:

Using docker

 docker-compose up --build -d

Run migrations and seed

  • NOTE: Wait for docker-compose or start postgres locally, to run the following command
yarn seed:server

Listening in

frontend port: http://localhost:5173

backend port: http://localhost:3001

API Docs

Visit http://localhost:3001/docs/ for more information about the documentation

Stack used

ReactJS
KoaJS
Postgresql
Knex
Docker
Jest
Swagger
Docker-compose
Yarn
WorkSpaces
Styled-Components
Material-IU