- Clone or fork the course repository found at [https://github.com/bonnie/udemy-react-testing-library-projects]
cd
into thesundae-server
directory (where this README is located).- Run
npm install
Run npm start
. The server will be found at [http://localhost:3030]
Server routes:
GET /scoops
andGET /toppings
return sundae options (array of objects with keysname
andimagePath
)POST /order
returns a random order number (does not process order)- images via static
/images
directory.
To test, run npm test
.