GithubHelp home page GithubHelp logo

mrlsk8 / sk8shop Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 4.0 60.44 MB

Sk8shop (e-commerce) developed with React Native.

License: MIT License

JavaScript 3.35% TypeScript 82.18% Java 8.82% Ruby 2.36% Objective-C 2.10% Objective-C++ 1.20%
react-native javascript e-commerce skateboarding skateshop

sk8shop's Introduction

Sk8shop

Table of contents:

About the project:

Project developed with React Native, with the purpose of simulating a skateshop.

Objective:

  • It's supposed to show all products sorted alphabetically or by price (asc).
  • It's supposed to show product details.
  • Add and remove products from shopping cart.
  • Simulate a purchase, adding products to "my purchases" list.
  • Remove products from "my purchases" list.

Technologies

✅ React Native
✅ React Query
✅ React Native Code Push
✅ Styled-components
✅ Firebase (Firestore, Authentication)
✅ Axios
✅ React-navigation
✅ Redux
✅ Redux-persist
✅ Git-commit-msg-linter
✅ React Hooks
✅ Babel-plugin-root-import
✅ Vector Icons
✅ Immer
✅ Lodash
✅ lottie-react-native
✅ react-native-paper
✅ moti
✅ react-native-reanimated
✅ react-native-image-pan-zoom
✅ Date-fns
✅ react-native-fast-image
✅ redux-saga
✅ Typescript
✅ Jest
✅ @testing-library/jest-native
✅ @testing-library/react-hooks
✅ @testing-library/react-native

Prerequisites

Before proceeding, it is ideal that you have the environment set up to create applications in React Native, for this you can follow the guide of the link below:

React Native's Environment (Android/iOS)

Getting started

First you clone the project:

$ git clone https://github.com/MRLSK8/SK8shop.git && cd SK8shop

Then you run the following command to install packages:

$ yarn install

Next, you start the project:

$ yarn start

Finally you run it like so:

$ yarn android

If you want to build it and generate an APK just do the following

$ yarn android:build

It will generate an APK on android/app/build/outputs/apk/release/app-release.apk, send it to your cellphone and install it.

And that's it! you're ready to use.

Running Tests

You just need to run this command:

  $ yarn test

In order to check the tests coverage out, run this command instead:

  $ yarn test:coverage

File structure

The file structure are in the following way:

├── src/
│   ├── @types/
│   │   └── index.d.js
│   ├── assets/
│   │   └── Icons
│   │       └── skateboard.svg
│   ├── components/
│   │   ├── GoBackButton/
|   |   |   ├── index.tsx
|   |   |   └── style.ts
|   |   ├── ImagePreview/
|   |   |   ├── index.tsx
|   |   |   └── style.ts
|   |   ├── ProductItem/
|   |   |   ├── index.tsx
|   |   |    style.ts
│   │   └── ScreenHeader/
|   |       ├── index.tsx
|   |       └── style.ts
│   ├── config/
│   │   └── statusBarConfig.ts
│   ├── helpers/
│   │   └──  numberToCurrency.ts
│   ├── hooks/
│   │   └── reduxHooks.tsx
│   ├── routes/
│   │   └── app.routes.ts
│   │   └── auth.routes.ts
│   │   └── bottom-tabs.routes.ts
│   │   └── index.ts
│   │   └── products.routes.ts
│   │   └── purchases.routes.ts
│   │   └── styles.ts
│   ├── screens/
│   │   ├── AppScreens/
|   |   |   ├── myPurchases/
|   |   |   |   ├── index.tsx
|   |   |   |   └── style.ts
|   |   |   ├── productDetails/
|   |   |   |   ├── index.tsx
|   |   |   |   └── style.ts
|   |   |   ├── productsList/
|   |   |   |   ├── index.tsx
|   |   |   |   └── style.ts
|   |   |   └── shoppingCart/
|   |   |       ├── index.tsx
|   |   |       └── style.ts
|   |   └── AuthScreens/
|   |       ├── signIn/
|   |       |   ├── index.tsx
|   |       |   └── style.ts
|   |       └── signUp/
|   |           ├── index.tsx
|   |           └── style.ts
│   ├── services/
│   │   └── api.ts
│   ├── store/
│   │   └── actions/
│   │   └── ducks/
│   │   └── sagas/
│   │   └── types/
│   │   └── index.ts
│   ├── styles/
│   │   ├── globalStyles.ts
│   │   └── index.ts
│   └── index.tsx
├── .buckconfig
├── .editorconfig
├── .eslintrc.js
├── .eslintrc.json
├── .gitattributes
├── .gitignore
├── .prettierrc.js
├── .watchmanconfig
├──  app.json
├── babel.config.js
├── index.js
├── LICENSE
├── metro.config
├── package.json
├── react-native.config.js
├── tsconfig.js
├── yarn.lock

License:

This project is licensed under the MIT License - see the LICENSE file for details.

Contact:

Facebook | Instagram | Linkedin

Made with ❤️ by Marcelo Lima 😊

sk8shop's People

Contributors

jmrlsk8 avatar mrlsk8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sk8shop's Issues

TO-DO

Add screens:

  • Sign up
  • Sign in

Sign in screen:

Add code push to the project (https://appcenter.ms/).
  • Android
  • Ios

Others:

  • Add sentry for monitoring errors.
  • Add an option to change the app's theme (dark mode).
  • Add A/B testing with firebase.
  • Add push notification with firebase.
  • Add deep linking.
  • Add captcha.
  • Add ios icon.
  • Add ios splashscreen.
  • Add github actions.
  • Add translation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.