Getting Started With Sample App Locally
Last updated
Last updated
Before proceeding, you'll need to have the last stable and installed on your machine.
You can use (macOS/Linux) or to switch Node versions between different projects.
Open the project folder and install its dependencies. You can use any package manager you want: or . There might be other package managers that were not listed here.
Once the installation is done, you can now run your app by running npm run dev
or yarn dev
.
You will see something similar to:
This runs the app in development mode. Open to view it in the browser.
While in development mode, the page will automatically reload if you make changes to the code. Should you have any, you will see the build errors and lint warnings in the console.
The app uses ESLint
, so you will get detailed warnings and errors as well as best practice hints.
or yarn build
Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified, and the filenames include hashes.
If you have made your necessary changes, by this time, your app should ready to be deployed.
Please keep in mind that this project does not handle any backend logic nor databases; it is just a frontend you can use it with any backend you want. This means that you will have to build such a backend or use any existing one you might already have.