Skip to content

viniciusroque/nlw-ignite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLW Ignite

Installation

Dependencies

  1. Install NVM by running the following command in your terminal:

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
  2. Set the NVM environment variable by adding the following line to your shell profile (e.g., .bashrc, .zshrc, etc.):

    export NVM_DIR="$HOME/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
  3. Install Node.js by running the following command in your terminal:

    nvm install node

Server

  1. Navigate to the server directory
  2. Install the server dependencies by running the following command:
    npm i
  3. Copy the .env.template to .env running the following command:
    cp .env.template .env
  4. Replace to your Github Client ID
  5. Replace to your Github Secret
  6. Replace to your Github Client ID
  7. Replace to your Github Secret
  8. Create a database using the following command:
    npm run prisma:db
  9. Start the server running the following command:
    npm run dev

Web Application

  1. Navigate to the web directory
  2. Install the server dependencies by running the following command:
    npm i
  3. Copy the .env.template to .env running the following command:
    cp .env.template .env
    
  4. Replace to your Public Github Client ID
  5. Start the web running the following command:
    npm run dev

Mobile Application

  1. Navigate to the mobile directory

  2. Install the mobile dependencies by running the following command:

    npm i
  3. Copy the .env.template to .env running the following command:

    cp .env.template .env
  4. Replace to your Public Github Client ID

  5. To start the application there are some options:

    1. Choosing the simulator running the following command:
    npm run start
    1. Using IOS simulator running the following command:
    npm run ios
    1. Using Android simulator running the following command:
    npm run android

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published