Installation
Getting started with mockBee is easy! ๐โโ๏ธ
#
Installing the mockbee template#
Approach 1: mockBee 2.0: CRA TemplatesNow 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-ecommerce
#
Approach 2: By using mock-backend starterRun the following command in your terminal.
npx create-mock-backend// oryarn create mock-backend
That'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 AppHead over to your project and run,
npm start// oryarn start
This 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