NOTE:
DELETE ** react-crud-app ** folder before following the instructions below!!!!! Otherwise your project may not run at all!
Project: "Contacts Manager || React + FeatherJS" This project uses Feathers. An open source web framework for building modern real-time applications. The code allows you to add new contacts to your Contact Manager.
==========================================================================================
---------------------=====================================---------------------------------======================================-----------------------------
Getting up and running is as easy as 1, 2, 3, 4.
-
Make sure you have NodeJS and npm installed. Verify NodeJS Installation:
node --version
-
Install your dependencies
From root of project (/react-crud-contacts-manager-featherjs)
npm install or yarn install
^ This will insall all required technologies for the Frontend in a new node_modules folder.
cd path/to/backend npm install
-
Start your MongoDB connection
- Open a new terminal / cmd prompt & type:
mongod
-
Start your app
npm start (or yarn start)
- Navigate to: http://localhost:3000/contacts/new (if localhost:3000 doesn't automatically open in a browser tab)
Simply run npm test
and all your tests in the test/
directory will be run.
Feathers has a powerful command line interface. Here are a few things it can do:
$ npm install -g @feathersjs/cli # Install Feathers CLI
$ feathers generate service # Generate a new Service
$ feathers generate hook # Generate a new Hook
$ feathers help # Show all commands
For more information on all the things you can do with Feathers visit docs.feathersjs.com.