-
"/server" directory contains all the backend functionality (database stuff and google auth implementation).
-
"/src" directory contains all the pages for the website - basically the frontend.
-
Bolt made the project structure kinda weird so some of the files in the front end are outside of the src directory.
-
Make sure to run "npm install" at both the root level and within the server directory to install all the dependencies listed in the package.json files.
-
Now running "npm run dev" at the root level should run both front and back end simultaneously - You should see something like this in your terminal :
npm run dev > [email protected] dev > concurrently "npm run dev:server" "npm run dev:client" [1] [1] > [email protected] dev:client [1] > vite [1] [0] [0] > [email protected] dev:server [0] > cd server && npm run dev [0] [1] [1] VITE v5.4.8 ready in 236 ms [1] [1] ➜ Local: http://localhost:5173/ [1] ➜ Network: use --host to expose [0] [0] > [email protected] dev [0] > npx ts-node --project tsconfig.json index.ts [0] [0] Server running on http://localhost:4000 [0] MongoDB connected
-
Notifications
You must be signed in to change notification settings - Fork 2
gt-big-data/Smart-Path-AI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published