Skip to content

Subu19/craftnepal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CraftNepal frontEnd

It is the frontend of craftnepal web application. Backend repo will be available soon.

Getting started with the project

In the project directory, you can run:

npm start

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.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run 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 the hashes.
Your app is ready to be deployed!

Configure Json file

Create config.json in main directory.\

congif.json format :

{
  "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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published