This is the starter code for a Node.js server using the Koa web framework. There is a frontend code in React.Js which should be served to the user.
To get this project functionally working locally;
- You will need to install Node.js.
For best results, use Node.js >= 16.
You can check your current version of Node.js like this:
$ node --version
v16.13.1
-
Download or clone the repo into your directory
-
Use this command on your cmd or terminal
git clone https://github.com/therealJimoh/dogbreed
- Change into the root directory if you are not already there. Use:
cd dogbreed
- Then, inside this project, run
npm install
npm run server
If the server starts successfully, you will see
Server running on http://localhost:3011
- Navigate to the frontend directory. Use this
cd frontend
Then, inside it, run
npm install
- To start the frontend application, change to the root directory of the project and run
npm start
If it starts successfully, you will see
You can now view in the browser at Local: http://localhost:3011
- Koa: https://koajs.com/
- @koa/router: https://github.com/koajs/router#koarouter
- koa-body: https://github.com/dlau/koa-body#usage-with-koa-router
- Dogs API: https://dog.ceo/dog-api/breeds-list
- Bored API: https://www.boredapi.com/
- React Library - https://reactjs.org/
- Redux Toolkit: https://redux-toolkit.js.org/
- React Hook Form: https://react-hook-form.com/
- SASS - https://sass-lang.com/documentation
- Axios - https://axios-http.com/