npm install
npx prisma migrate dev --name init
cd client
npm install
cd ..
npm run dev
npx prisma studio
File/Folder | Primary use |
---|---|
/ |
Main source folder for development server app |
app.js |
Server app |
i18n.js |
Language localization settings server app |
/controllers |
All of the callback functions that each route will call |
/routes |
HTTP to URL path associations for each unique url |
/prisma |
PrismaORM & DB & data models schema |
/locales |
Language translation JSON files server app |
/client/src |
Source folder for development frontend react app |
/client/src/ui |
UI custom components |
/client/src/app |
Serivices, hooks and store redux toolkit |
/client/src/features |
Slices for redux store |
/client/src/pages |
React components that function as pages |
/client/src/components |
React components |
/client/src/pathsRoutes |
Routes paths for react-router-dom |
/client/src/types |
Types and interface |
/client/src/style |
Css styling |
/client/src/utils |
Custom utility scripts |
/client/src/public |
All of our static files |
/client/src/public/locales |
Language translation JSON files frontend app |