Installation
Getting started with mockBee is easy! ๐โโ๏ธ
Installing the mockbee template#
Approach 1: mockBee 2.0: CRA Templates#
Now you can use the CRA templates to install your favourite mockbee project directly!
npx create-react-app my-app --template mockbee-[project-name-here]Available templates:
- mockbee-ecommerce
- mockbee-video-library
- mockbee-social-media
- mockbee-forum-app
- mockbee-project-management
- mockbee-habit-tracker
- mockbee-notes-app
Example command (say you want to install e-commerce template):
npx create-react-app my-app --template mockbee-ecommerceApproach 2: By using mock-backend starter#
Run the following command in your terminal.
npx create-mock-backend// oryarn create mock-backendThat's it! Wait for the installation to be finished follow the instructions in the terminal.
Select the name of your app, your favourite mockBee template and let us handle the rest for you!
Running the App#
Head over to your project and run,
npm start// oryarn startThis should run your react app on localhost:3000!
Note: If you are running this application for the first time, make sure that you have the updated dependencies by running,
npm install// oryarn