Skip to content

idrakimuhamad/FlossieDickeyBounce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 

Repository files navigation

Ads Checkout System

A sample app built using Sailsjs for its backend API and React as its frontend framework, with Redux for state management and Jest for tests, combined with Enzyme. This part of technical test for a front-end position that I was invited to, which I ended up turned down.

Get started

Backend

  • Navigate to the backend folder, and run npm install or yarn install
  • To start the app, run sails lift. The server should be running on port 1337 by default
  • To add default data, you need to use sent a POST request using POSTMAN or curl to this endpoint: http://localhost:1337/api/defaultData

Frontend

  • Navigate to the backend folder, and run npm install or yarn install
  • Make sure to edit the API endpoint, if you've run the sails server in different port other than 1337. The endpoint can be change in src/api/endpoints.js.

Start the front end server

npm start

Testing

npm test

About

A sample advert shop system with React and Sails.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published