The Andela Eats client side implementation
The Andela Eats is the software automation of the current feeding system so as to make it scalable through enabling access to all Andelans without Andela having to incur extra cost. The solution will also serve as a central place where all meal information is stored both for andelans and vendors. Vendors can manage meals and view feedback. Andelans can conveniently pre-order meals without the fear that a particular favourite meal is finished.
- React:
A JavaScript library for building user interface
- Redux:
A predictable state container for Javascript apps
- Node:
An open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side.
- NPM:
A package manager for Javascrip
Here is how to get a copy of the project up and running on your local machine for development and testing purposes.
-
You will need to have npm, the best way to install npm is to install node using the node.js installer, npm is installed as part of node.
-
Clone this repository by running the command
git clone https://github.com/andela/AndelaEatsUI.git
-
After successfully cloning the project:
cd AndelaEatsUI/client
-
To Install dependecies.
npm install
-
You will require to create an alias for andelaeats-dev.andela.com in your /etc/hosts which you can access by running this command
sudo vim /etc/hosts
which opens your /etc/hosts for editing using vim. To edit it, get into insert mode by pressingi
key and put these127.0.0.1 andelaeats-dev.andela.com
after the last line.
- To start the app locally run the following commands
npm run build
followed bynpm run dev
- For Component test
npm test
- Contributors should adhere to the guidelines in the:
- Andela Eats