It is the frontend of craftnepal web application. Backend repo will be available soon.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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 the hashes.
Your app is ready to be deployed!
Create config.json in main directory.\
{
"baseUrl": "http://localhost:5000/",
"api": "api/",
"login": "auth/login",
"checkAuth": "auth/verify",
"avatar": "https://cdn.discordapp.com/avatars/"
}
Here, baseUrl is the backend Url, api is the pathname for api in the backend, login for login pathname, checkAuth for validating user Authentication, and avatar is the source url for discord Avatars.