Project Find your DUO NLW eSports Week.
This project was developed the backend with Node with Prisma, database is sqlite, use the Insomnia file to import JSON for test routes. He have four routes created:
- POST: Create Ad /games/:id/ads (:id = gameId)
- GET: Ad by Game games/:id (:id = gameId)
- GET: List all games /games
- GET: Discord by Ad /ads/:id/discord (:id = adId)
The web use React with Vite and the phenomenal TailwindCSS for style. Phosphoricons is use for the icons. The modal part use Radix primitives components for acessibility. He use Axios for consume the API server.
In the mobile use React-Native with Expo managed workflow, and for navigation use React Navigation, the mobile use Clipboard and Push-Notification. Phosphoricons mobile version is use for the icons.
# Enter /server
$ cd server
# Install packages
$ npm install
# Migrations
$ npx prisma migrate dev
# Migrations Preview
$ npx prisma studio
# Run Back-end
$ npm run dev
# Enter /web
$ cd web
# Install packages
$ npm install
# Run Vite
$ npm run dev
# Enter /mobile
$ cd mobile
# Install packages
$ npm install
# Run Mobile
$ expo start