Solution for a challenge from Devchallenges.io.
Challenge: Create my CatWiki app. Use Front-end libraries like React or Vue.js. Using the cat api to complete this challenge. The client-side should not use the API directly. Everything should be handled on the server-side. For example, suggesting the breeds or getting images for the breed.
- Express.js: Fast, unopinionated, minimalist web framework for Node.js.
- React.js: A JavaScript library for building user interfaces.
- Node.js: Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- cors: CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.
- nodemon: Nodemon is a utility that will monitor for any changes in your source and automatically restart your server.
- dotenv: Dotenv is a zero-dependency mo: dule that loads environment variables from a .env file into process.env.
- node-fetch: A light-weight module that brings window.fetch to Node.js
- run
git clone origin https://github.com/cs-fedy/catwiki.git
to clone the repo. - now cd to it:
cd catwiki
. - run
npm install
command on backend directory to install all used packages. - rename
.env.sample
to.env
and add your settings. - run
npm run dev
to start the backend server. - now run
npm install
command on frontend directory to install all frontend used packages. - type
npm start
to start the app.
created at 🌙 with 💻 and ❤ by me fedy abdouli
- Fedi abdouli - cat wiki - fedi abdouli
- my twitter account FediAbdouli
- my instagram account fedi abdouli