Skip to content

Commit

Permalink
Merge pull request #1 from giovanifranz/master
Browse files Browse the repository at this point in the history
Melhorias no Projeto
  • Loading branch information
alexdlli authored Mar 31, 2022
2 parents b4a4430 + b77e45e commit 99aa542
Show file tree
Hide file tree
Showing 58 changed files with 7,418 additions and 9,488 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
}
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
NEXT_PUBLIC_THE_MOVIE_DB=https://api.themoviedb.org/3/movie
NEXT_PUBLIC_IMAGE_DOMAIN=image.tmdb.org
NEXT_PUBLIC_IMAGE_BASE_URL="https://${NEXT_PUBLIC_IMAGE_DOMAIN}/t/p/w500//"

NEXT_PUBLIC_THE_MOVIE_DB_KEY=
37 changes: 37 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"env": {
"browser": true,
"es2020": true,
"jest": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:@next/next/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}
20 changes: 16 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,28 @@
# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 80,
"semi": true,
"singleQuote": false,
"trailingComma": "es5"
}
5 changes: 0 additions & 5 deletions .vscode/settings.json

This file was deleted.

28 changes: 13 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
# Welcome to API-Filmes

- A website to find the most popular movies of the moment
- Projeto desenvolvido tendo como base: https://github.com/Alex-dll/Api-Filmes

### Application Details

To see the app click [here](https://api-filmes-seven.vercel.app/)

#### Behaviours
- O projeto foi feito pela Giovanna Moeller em seu canal do Youtube o Girl Coding

![Mockup 1](https://github.com/Alex-dll/Api-Filmes/blob/master/public/Mockup%202.png?raw=true)
- Link do canal Girl Coding: https://www.youtube.com/c/GirlCoding

![Mockup 2](https://github.com/Alex-dll/Api-Filmes/blob/master/public/Mockup%201.png?raw=true)
- Linkedin Alex: https://www.linkedin.com/in/alex-dll/

![Behaviors](https://github.com/Alex-dll/Api-Filmes/blob/master/public/Behaviours.gif?raw=true)
- Site hospedado: https://api-filmes-brown.vercel.app/

## How to run this project

Clone this repo

```bash
git clone https://github.com/Alex-dll/Api-Filmes
```

Go to project directory

```bash
Expand All @@ -42,13 +35,18 @@ Start the aplication

## 🛠 Used Tools ⌨

- NextJS is the main protagonist, he is responsible for the core of the application.
- NextJS
- ReactJS
- Javascript
- Typescript
- Styled-Components
- React-Query
- Axios

---

🚀Foguete não tem ré
# Desenvolvedor:

| [<img src="https://avatars.githubusercontent.com/u/79429654?v=4" width="75px;"/>](https://github.com/giovanifranz) |
| :-: |
|[Linkedin](https://www.linkedin.com/in/giovanifranz)|
|[Email](mailto:giovanifranz151@gmail.com)|
5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
10 changes: 10 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
pageExtensions: ["page.tsx", "api.ts"],
images: {
domains: [process.env.NEXT_PUBLIC_IMAGE_DOMAIN],
},
};

module.exports = nextConfig;
Loading

0 comments on commit 99aa542

Please sign in to comment.