Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
axelauza97 committed Jul 20, 2023
1 parent a38029f commit b270ebf
Show file tree
Hide file tree
Showing 6 changed files with 7,813 additions and 657 deletions.
46 changes: 26 additions & 20 deletions pruebas/01-reading-list/axelauza97/bookshelves-app/README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,44 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
# Axel Auza A

This is the README file for the `bookshelves-app` project.

`bookshelves-app` is a [Next.js](https://nextjs.org/) project with [Tailwind CSS](https://tailwindcss.com/).

## Getting Started

First, run the development server:
To get started with the project, clone the repository and install the dependencies:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
git clone https://github.com/axelauza97/pruebas-tecnicas-dev.git
cd pruebas/01-reading-list/axelauza97/bookshelves-app
npm install or pnpm install
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Available Scripts

In the project directory, you can run:

### `npm run dev`

You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
### `npm run build`

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
Builds the app for production.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
### `npm run start`

## Learn More
Runs the built app in production mode.

To learn more about Next.js, take a look at the following resources:
### `npm run lint`

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
Runs eslint to check the code-style.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
### `npm run test`

## Deploy on Vercel
Runs playwright test to run end-to-end tests.

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
## Deploy

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
This project is deployed in [https://bookshelves-app-axel.netlify.app/](https://bookshelves-app-axel.netlify.app//).
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["next/babel"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
transform: {
"^.+\\.(js|jsx)$": "babel-jest",
},
moduleNameMapper: {
"\\.(css|less|sass|scss)$": "identity-obj-proxy",
},
};
Loading

0 comments on commit b270ebf

Please sign in to comment.