Git Product home page Git Product logo

haywayaheadshot / arha_deals_backend Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 390 KB

Arha-Deals Backend is the back-end of this - (https://github.com/Haywayaheadshot/arha_deals/tree/development) front-end e-commerce web application. It sends data containing phones, baby products, and reels with their respective API's. It also holds user data when they register.

License: MIT License

Ruby 70.93% JavaScript 1.52% CSS 0.73% HTML 26.69% Shell 0.13%
devise devise-jwt ruby ruby-on-rails

arha_deals_backend's Introduction

Hi there ๐Ÿ‘‹

Welcome to my profile. I am a FullStack Software Engineer. I love learning new things. A problem solver. Making music and writing codes are two but one to me. I am currently available for hire and open to new job opportunities. Check out my linkedin below and connect with me.

haywayaheadshot profile
Coder GIF

๐Ÿ”ญ Iโ€™m currently working on building full-stack projects

๐ŸŒฑ Iโ€™m currently mastering Data Structure and Algorithms

๐Ÿ‘ฏ Iโ€™m looking to collaborate on open-source projects

๐Ÿ’ฌ Ask me about anything you want

๐Ÿ“ซ If you prefer reaching out via email, check it out below:

Click here

๐Ÿ› ๏ธ Languages and Tools I have worked with:

  • ๐Ÿ’ป ย  JavaScript Ruby TypeScript GraphQL HTML5 CSS3 Kotlin
  • ๐ŸŒ ย  Rails Bootstrap Tailwind React NextJS Vue NPM NodeJS React Router Redux Redux createAsyncThunk SASS Android Studio
  • ๐Ÿ›ข ย  Postgres MySQL
  • โš™๏ธ ย  Git GitHub Devise JWT Axios Markdown GitHub Actions GitLab CI
  • ๐Ÿ”ง ย  Visual Studio Code
  • โ˜๏ธ ย  Netlify Vercel

๐Ÿ”ฅ My Stats :

Haywayaheadshot's GitHub stats

Top Languages

arha_deals_backend's People

Contributors

haywayaheadshot avatar

Stargazers

 avatar

Watchers

 avatar

arha_deals_backend's Issues

Baby Products Table

  • Create a table for babies product
  • Populate Postgres with data for this table
  • Send via API to front end

Phones Table

  • Add required columns to phones table.
  • Populate phones table
  • Create an API to with route /api/phones to list all phones

Create API Sign In Route

  • Create API route to receive user sign details from the front end and send to users/check.
  • Validate user details
  • If successful, the data sent back should include a token
  • If not successful, the send "Wrong email and password" error message

User Authentication [Bug]

[Bug Description]

The cart item for user with id 2, displays for all other users.

[Suggested Fix]

  • Check the method that returns the cart from the backend.
  • Use rails c and Pry

Create exclusive items table

  • Create a table for exclusive items.
  • Allow exclusive items to be able to be added to card items.
  • Add a quantity column

Admin Dashboard Landing Page

Create a side bar that can allow admin to;

  • view all users

    Inside this tab, when a user is clicked you can see their cart.

Create Sign Out Route

  • Create an API route to sign users out
  • Once the user is signed out the token is destroyed

Create Carts table

  • Create a carts table
  • Receive the name, price, category, and quantity of an item from the front end.
  • Store in a table
  • This table should belong to the logged-in user

Add Devise and Devise_JWT

  • Add devise to the project to handle authentication
  • Add devise_jwt to handle token and communication security with front-end

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.