Skip to content

diontristen/pokemon-react-fe

Repository files navigation

Pokesaur (Virtual Binder)

Here is a working DEMO that you could visit. Please be responsible enough not to post or exhaust the demo server.

Description

This project is a React TypeScript application built using Vite, aiming to provide users with a platform to share their collections virtually.

Requirements

  • Node.js version 20.12.1 or higher

Installation

  1. Clone the repository:
git clone https://github.com/diontristen/pokemon-react-fe
  1. Install dependencies:
cd pokemon-react-fe
npm install
  1. Create an .env file to your root directory
VITE_PORT=5000 // PORT NUMBER
VITE_API=http://localhost:5001
  1. Start the development server:
npm run dev

If we are using a windows and linux and encountered this issue

Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.

You would need to remove package-lock.json as I initially built this in a mac OS m1 machine

rm -rf node_modules
rm -rf package-lock.json

npm install

##OR##

Using Docker

  1. Clone the repository
git clone https://github.com/diontristen/pokemon-react-fe
  1. Navigate to the project directory:
cd pokemon-react-fe
  1. Build and run the docker container
docker-compose up
  1. Access the app http://localhost:5000

**Note: Adjust the ports in the Dockerfile and docker-compose.yaml relative to your liking

Usage

  1. Access the application through the provided URL.
  2. Sign up for an account or log in if already registered.
  3. Explore the features to create gossips, browse gossips, and manage your account.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/improvement).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/improvement).
  6. Create a new Pull Request.

Note: This project is connected with a backend repository hosted at https://github.com/diontristen/pokemon-laravel-be.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages