gbowne1 / codebooker

This is a book recommendation app created with React 18.2 and MUI for coders/programmers looking for reccomendations to books on programming/coding to read
MIT License
31 stars 57 forks source link

scripts to run the frontend and the server seperately or at once #206

Closed prime1999 closed 10 months ago

prime1999 commented 10 months ago

Created the scripts to run the frontend and the backend of the app separately of together from the root of the application,

script to run the frontend: npm start script to run the server: npm run server script to run both together: npm run dev

prime1999 commented 10 months ago

made the change to the .env naming

prime1999 commented 10 months ago

it can be used to run more than one scripts at once, so I am using it to run the frontend and backend at once , like instead of saying npm start then also using np run server that I prepared for the backend, we can just directly run npm run dev that is using concurrently to run but the start and run server command