Wellers0n / upload

Fullstack monorepo for uploading transaction files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Fullstack monorepo for uploading transaction files

License:MIT License


Languages

Language:TypeScript 98.4%Language:JavaScript 0.7%Language:Dockerfile 0.4%Language:HTML 0.3%Language:CSS 0.1%