This is a Next.js project. If you want to know more about Babitz, you can read the checkout the main project repo.
For development, you will only need Node.js and a node global package, npm, installed in your environement.
If the installation was successful, you should be able to run the following command.
$ node --version
v14.15.4
$ npm --version
6.14.10
$ git clone https://github.com/pesto-students/babitz-frontend.git
$ cd babitz-frontend
$ npm install
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.
The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.
Before proceeding further with this project kindly go through all the documentation provided at Babitz Main Repo.
Please refer to Contribution guideline. You will find all the necessary information regarding the how to create file, write and structure code for this project. Feel free to contribute, suggestion for changes in the guidelines are also welcomed.