Skip to content

Employee accounting full stack application with React

Notifications You must be signed in to change notification settings

pgabow/employees_app_full

Repository files navigation

Employee react app

Server - Node.js, express, cors, bcrypt, jwt, prismaORM, sqlite, i18next

Client - React, TS, reduxTK, redux-persist, Ant`D, i18next

npm install
npx prisma migrate dev --name init
cd client
npm install
cd .. 
npm run dev

Visual editor for the data in your database.

npx prisma studio

Code structure

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