This challenge built with Next.js
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
To get a local copy up and running follow these simple example steps.
sudo apt install nodejs
npm install npm@latest -g
- Clone the repo
git clone https://github.com/nelsonacos/online-liqueurs-shop.git
- Open command line and go to project folder
cd online-liqueurs-shop
- Install and run the server
# install the server (you may need to use _sudo_ to run this command)
npm install -g json-server
# start the server using a specific port
json-server --watch db.json --port 3001
- open another command line and go to project folder
cd online-liqueurs-shop
-
Install NPM packages
npm install
-
First, run the development server
npm run dev
Open http://localhost:3000 with your browser to see the result.
Testing is one of the fundamental requirements in the challenge and in software engineering in general. I could have used methodologies such as TDD, which in the long run is a benefit because it requires thinking much more about software design, but for reasons of time for the purposes of the challenge postpone them.
- [] Add tests
- [] Checkout page
- [] Cart page
- [] Improve design
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.