Giter VIP home page Giter VIP logo

yoga-unalome's Introduction

Hello There

Gotta rewrite this thing at some point...

wJoenn

yoga-unalome's People

Contributors

cipriancrisan avatar haqcked avatar k-kenney avatar kokoras88 avatar wjoenn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

yoga-unalome's Issues

Sessions controller

  • generate sessions controller with create update and destroy action
  • add actions to routes

Booking model

  • generate migration file and model
  • add validation
  • add association
  • update user association
  • update session association

image

Facebook

  • #93
  • #64
  • Reviews
  • Send confirmation message after booking
  • Send reminder before session

Session has not been converted to Event everywhere

2023-05-10T20:17:36.938746+00:00 app[web.1]: I, [2023-05-10T20:17:36.938657 #2]  INFO -- : [b409ca8f-7f2f-4608-86d8-b87a0aacde67] Started GET "/" for 82.212.158.216 at 2023-05-10 20:17:36 +0000
2023-05-10T20:17:36.940114+00:00 app[web.1]: I, [2023-05-10T20:17:36.940054 #2]  INFO -- : [b409ca8f-7f2f-4608-86d8-b87a0aacde67] Processing by PagesController#home as HTML
2023-05-10T20:17:36.940725+00:00 heroku[router]: at=info method=GET path="/" host=www.yogaunalome.com request_id=b409ca8f-7f2f-4608-86d8-b87a0aacde67 fwd="82.212.158.216" dyno=web.1 connect=0ms service=8ms status=500 bytes=1827 protocol=https
2023-05-10T20:17:36.942196+00:00 app[web.1]: I, [2023-05-10T20:17:36.942159 #2]  INFO -- : [b409ca8f-7f2f-4608-86d8-b87a0aacde67] Completed 500 Internal Server Error in 2ms (Allocations: 2287)
2023-05-10T20:17:36.942618+00:00 app[web.1]: F, [2023-05-10T20:17:36.942588 #2] FATAL -- : [b409ca8f-7f2f-4608-86d8-b87a0aacde67]
2023-05-10T20:17:36.942634+00:00 app[web.1]: [b409ca8f-7f2f-4608-86d8-b87a0aacde67] NameError (uninitialized constant PagesController::Session
2023-05-10T20:17:36.942634+00:00 app[web.1]: 
2023-05-10T20:17:36.942635+00:00 app[web.1]: @sessions = Session.coming.map(&:day).to_json
2023-05-10T20:17:36.942635+00:00 app[web.1]: ^^^^^^^):
2023-05-10T20:17:36.942636+00:00 app[web.1]: [b409ca8f-7f2f-4608-86d8-b87a0aacde67]
2023-05-10T20:17:36.942637+00:00 app[web.1]: [b409ca8f-7f2f-4608-86d8-b87a0aacde67] app/controllers/pages_controller.rb:5:in `home'
2023-05-10T20:17:37.018382+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=www.yogaunalome.com request_id=9f0d354b-3c07-4ec7-aa42-987b7abd8155 fwd="82.212.158.216" dyno=web.1 connect=0ms service=1ms status=200 bytes=143 protocol=https

image

Session create form

That'll be part of the admin interface later but for now let's just make a simple form that is available to the admin only with a button to access it seen by the admin only
That may require pundit, or maybe we can make by just using a current_user.admin? condition

I'd say let's try the .admin? first then go with pundit if it appears to be required.

Create en.yml locale file

All the text we have inside our website that is accessible by the users should be inside this file instead.
This includes title and parapgrahs of course but also img tags' alt attributes for example, alerts and notices, etc etc etc.
Then the website shoudl redirect to this locale file to get its content instead of having the content hardcoded

DB Schema

A schema needs to be done to visualize what the database will encompass.
From the top of my head I can say that we'll need

  • a user table
  • a booking table
  • a yoga session table
  • a transaction details table

I know I'm missing some so that's what will need to be figured out

Footer

This is just about delivering a styled html template, no javascript involved yet

Note that the design need to be reworked because the contact form won't be in there anymore

Banner section

This is just about delivering a styled html template, no javascript involved yet
image

Homepage mobile media query

Convert every sections to be mobile compatible

  • banner
  • about chloe
  • about vinyasa
  • prices
  • calendar
  • events
  • footer

About sections

This is just about delivering a styled html template, no javascript involved yet
image

Session model

  • generate migration file and model
  • add validation to model

image

User forms

This includes creating a login, sign up and log out button and creating forms for them.
Either as overlays on the homepage or as new pages, that hasn't been decided yet.

User model

  • Install Devise
  • Add first_name last_name and admin to User model
  • Model validation
  • Model full_name instance method

image

Homepage on Figma

You'll need to create a figma for the home page of the website.
This page is basically a landing page including

  • a header with a banner and some navigation links
  • a presention of Chloe's and her activity
  • a call to action (bookings)
  • some client reviews
  • a calendar
  • a footer

You don't need to do the others pages' design but we need to have at least a template of each page the website will need
So the homepage would look like a final product like the screenshot of artify on the right, and the other pages would just be wireframes to give an idea of what components they will include.
image

I will ask chloe again to make sure what are the other pages she expect and leave a comment on this issue tomorrow.

Stripe

There's a course on Stripe available on Kitt. It's a bit outdated so it'll require a bit of documentation reading to adapt it but here's a couple of steps we'll need to take
https://kitt.lewagon.com/knowledge/tutorials/stripe

Some steps require updating some existing models so of course these requirements will be part of the relevant issue

Bookings controller

  • generate controller with create and update actions
  • add resources to routes

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.