Skip to content

NLW (Next Level Week) - Gamer Connection Platform (Mobile). This project aims to connect gamers worldwide, facilitating the organization of online gaming sessions. The platform allows users to share their gaming preferences.

Notifications You must be signed in to change notification settings

Aleydon/eSports-mobile

Repository files navigation

🌎 React Native Template (Expo) 🌎


logo of Next14 repository

📌 Requirements: 📌

NodeJs: 🔗 https://nodejs.org/en/
Expo: 🔗 https://docs.expo.dev/


Template configuration:


Relative Paths Config:

	"baseUrl": "./app"
    "paths": {
      "@app/*": ["./app/*"],
      "@components/*": ["components/*"],
      "@constants/*": ["constants/*"],
      "@utils/*": ["utils/*"],
      "@hooks/*": ["hooks/*"],
      "@assets/*": ["assets/*"],
      "@services/*": ["services/*"],
      "@context/*": ["context/*"]
    }

▶️ Get Started:

  1. Clone this repo
git clone https://github.com/Aleydon/React-Native-Template.git
  1. Install NPM packages
npm install or yarn
  1. Run this project
npm run start or yarn start

In the output, you'll find options to open the app in a

You can start developing by editing the files inside the app directory. This project uses file-based routing.

Tests:

  • How to run tests:
npm run test or npm run test:watch

It has an example of tests with Jest + React-Native-Testing-Library in app/tests/example.spec.tsx

import { render } from '@testing-library/react-native';

import App from '..';

const sum = (a: number, b: number) => a + b;

describe('Test example', () => {
  it('sum correctly', () => {
    expect(sum(1, 2)).toBe(3);
  });

  it('should render App', () => {
    render(<App />);
  });
});

Test Running:


Image test running

About

NLW (Next Level Week) - Gamer Connection Platform (Mobile). This project aims to connect gamers worldwide, facilitating the organization of online gaming sessions. The platform allows users to share their gaming preferences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published