This server is meant to be used as a local development server for the frontend application with the Symfony API server running on port 8000
, you can change the port in the .env.local
file.
- Download the project locally. Go to the frontend repository for this project and clone it to your local machine.
git clone https://github.com/SrVladyslav/symfony_crud_poc_frontend.git
- Navigate to the project directory and install the required dependencies using npm:
cd frontend
npm install
- Start the development server and open your browser to
http://localhost:3000/
:
npm run dev
- You can also create a build for production:
npm run build
- And then run the build:
npm run start