Welcome to the Backend-for-Frontend repository! This project is a combination of Node.js, Express.js, Vite, React.js, TypeScript, and NPM workspaces, designed to provide a robust backend infrastructure for frontend applications.
- Node.js v18 or later
To get started, clone this repository to your local machine:
git clone https://github.com/wintorez/backend-for-frontend.git
Navigate to the project directory:
cd backend-for-frontend
Install dependencies using npm:
npm install
You can run the project in development mode using the following command:
npm run dev
This will start the development server and provide hot reloading for both the frontend and backend.
To build the project for production, use the following command:
npm run build
This command will bundle and optimize the frontend and backend code for deployment.
To run the project in production mode, use the following command:
npm start
This will start the server in production mode, serving the bundled application.
Contributions are welcome! Please feel free to open issues or submit pull requests.
This project is licensed under the MIT License.