Closed Ramya-Clg closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
universal-box | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 2, 2024 4:06pm |
The changes in this pull request establish a foundational structure for a Full Stack application using React for the frontend and Express for the backend. Key additions include new configuration files, a basic Express server, and initial React components. The .gitignore
files for both frontend and backend are updated to exclude unnecessary files from version control. Additionally, the README.md
is enhanced with setup instructions for integrating React with Vite, while ESLint configurations are introduced to maintain code quality.
File Path | Change Summary |
---|---|
template/FullStack/React(Frontend)+Express(Backend)/Backend/.gitignore |
Added entries to ignore dist , node_modules , and .env files. |
template/FullStack/React(Frontend)+Express(Backend)/Backend/package.json |
Created a new package.json for the backend with project metadata and dependencies. |
template/FullStack/React(Frontend)+Express(Backend)/Backend/src/index.ts |
Introduced an Express server that responds with "Hello World!" on the root URL and listens on port 3000. |
template/FullStack/React(Frontend)+Express(Backend)/Backend/tsconfig.json |
Created a new TypeScript configuration file with compiler options. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/.gitignore |
Added a .gitignore file for the frontend to exclude logs, node_modules , and build artifacts. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/README.md |
Enhanced README with setup instructions for React with Vite and ESLint configuration. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/eslint.config.js |
Introduced ESLint configuration for TypeScript and React. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/index.html |
Added a new HTML entry point for the React application. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/package.json |
Created a new package.json for the frontend with scripts and dependencies for React and Vite. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/src/App.tsx |
Added a new React functional component App that displays a welcome message. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/src/main.tsx |
Introduced main.tsx as the entry point for rendering the React application. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/src/vite-env.d.ts |
Added reference directive for Vite client types in TypeScript. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/tsconfig.app.json |
Created a TypeScript configuration file for the React application with specific compiler options. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/tsconfig.json |
Introduced a TypeScript configuration file referencing other config files. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/tsconfig.node.json |
Created a TypeScript configuration file for Node.js with optimized settings. |
template/FullStack/React(Frontend)+Express(Backend)/Frontend/vite.config.ts |
Added Vite configuration file to integrate React with Vite. |
template/FullStack/React(Frontend)+Express(Backend)/index.ts |
Deleted an unused index.ts file containing only a greeting message. |
🐰 In the garden, a new path we lay,
With React and Express, we brighten the day.
A server that greets, a frontend so bright,
With Vite and TypeScript, all feels just right!
So hop along, friends, let’s code and create,
A full stack adventure, oh, isn’t it great? 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Hey @Ramya-Clg I reviewed your code and there's a need of a few changes
client
and server
part of the project is not at all configured .. the whole point of project scaffolding through Universal-Box
is to provide well-configured codebase in a single commandclient
and server
server
folder which will facilitate sign-up and sign-in and create necessary buttons and pages in the client calling those routes and reflecting proper flash messagesget
route and a post
route and maybe log some data in the client side by showing a template(data to be fetched from server)README.md
and place it here template/FullStack/React(Frontend)+Express(Backend)/
refer this to create itReact(Frontend)+Express(Backend).md
and place it here website/content/Templates/FullStack/React(Frontend)+Express(Backend).md
refer this to create it -- add relevant screenshots to your projectYou can join our Discord server to get some help from other contributors if needed
I will not be able to add the fullstack features, if someone else wants this issue feel free to assign it to them
Description
Please provide a summary of the changes made in this pull request. Include any relevant motivation and context for the changes.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
cd frontend -> npm run dev to test the frontend react code cd backend -> tsc -b -> node dist/index.js to test the backend code
Checklist
Summary by CodeRabbit
Release Notes
New Features
Documentation
Configuration
.gitignore
files to exclude unnecessary files from version control.Chores
package.json
files for both frontend and backend to manage dependencies and scripts.