Skip to content

Coding-Factory-L3/MyCoins

Repository files navigation

MyCoins

MyCoins is an application for follow Cryptocurrency and NFT, it is possible to have an account, add cryto or nft in a list of favorites and have a profile page.

Stack Used

Installation and Setup Instructions

1. Clone the repository

Clone this repository using the following command in your terminal :

    git clone https://github.com/justRunnz/Trippy-Node.git

2. Install the dependencies

To install the dependencies, run this command in the terminal in the root of the project, in this project we use yarn but you can use npm if you want :

    yarn install
    npm install

3. Environment Variables

Make sur when you clone the project to create a .env file and add the following variables and remove the < > :

COINGECKO_API_KEY = <Your key>

FIREBASE_API_KEY = <Your key>
FIREBASE_AUTH_DOMAIN = <Your domain>
FIREBASE_PROJECT_ID = <Your project ID>
FIREBASE_STORAGE_BUCKET = <Your storage bucket>
FIREBASE_MESSAGING_SENDER_ID = <Sender ID>
FIREBASE_APP_ID = <Your app ID>
FIREBASE_MEASUREMENT_ID = <ID>

GOOGLE_MAPS_API_KEY = <Your key>

4. Start the server

Once the dependencies are installed, you can start the back-end server using the command

    yarn start
    npm start

This is a new React Native project, bootstrapped using @react-native-community/cli.

Step 5: Start your Application

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For Android

# using npm
npm run android

# OR using Yarn
yarn android

For iOS

# using npm
npm run ios

# OR using Yarn
yarn ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

Step 6: Modifying your App

Now that you have successfully run the app, let's modify it.

  1. Open App.tsx in your text editor of choice and edit some lines.

  2. For Android: Press the R key twice or select "Reload" from the Developer Menu (Ctrl + M (on Window and Linux) or Cmd ⌘ + M (on macOS)) to see your changes!

    For iOS: Hit Cmd ⌘ + R in your iOS Simulator to reload the app and see your changes!

Congratulations! 🎉

You've successfully run and modified your React Native App. 🥳

Now what?

Troubleshooting

If you can't get this to work, see the Troubleshooting page.

Learn More

To learn more about React Native, take a look at the following resources:

API Reference CoinGecko

Coins

  GET /coin/list
Parameter Type Description
api_key string Required. Your API key

Get item

  GET /coin/list/${id}
Parameter Type Description
id string Required. Id of item to fetch

NFTS

  GET /nfts/list
Parameter Type Description
api_key string Required. Your API key

Get item

  GET /coin/nfts/${id}
Parameter Type Description
id string Required. Id of item to fetch

Documentation :

https://www.coingecko.com/api/documentation

API Reference Google Maps

Authors

Collaborators

avatar avatar avatar avatar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •