A simple project made with Nexjs, Typescript, Styled-jsx and Mongo to consume the OMDb API. It also use Jest for unit tests.
The main features are movie listing and detailing. Also possibility to add or remove a movie as a favorite.
You can see a demo here: What's in App
-
MongoDB: I'm using a MongoDB to save the favorite movies, so you can either pointer to a MongoDB Container or any other instance of the database you have.
-
Docker*: Just in case you choose using Mongo via Container
- Install all de dependecies
$ yarn install
- Create a .env.local file in the root with using .env.local.example as example.
- Run with the command:
$ yarn dev
To run tests you just need to execute:
$ yarn test