Gotta rewrite this thing at some point...
yoga-unalome's Introduction
yoga-unalome's People
Forkers
ilhaanmohamedosmanyoga-unalome's Issues
Sessions controller
- generate sessions controller with create update and destroy action
- add actions to routes
Booking model
Accounting interface
User account dashboard
Authentification
RSpec github action
Membership card component
Design user dashboard on figma
Calendar component
Background jobs for mailer
English / French
- #83
- Create fr.yml file
- Handle language switching and save preference
Install stripe gem
That'll require my stripe account, I can share it no issues
Install stripe_event gem
Connect contact form with Rails' mailer system
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
Legal stuffs
This stuff is such a pain in the ass what the hell...
- GDRP compliant https://github.com/LINCnil/Guide-RGPD-du-developpeur
- refund policy for stripe
- terms & conditions
- privacy policy
- business verification for facebook
User dashboard page
Booking with payment
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.
Statistics
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
Integrate Session instances inside calendar
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
Transaction model
Video Library
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
Update dependencies
Homepage mobile media query
Convert every sections to be mobile compatible
- banner
- about chloe
- about vinyasa
- prices
- calendar
- events
- footer
Notice and Alerts component
Recoverable and verifiable account
This means sending a mail to verify the email and being able to reset the password if forgotten
About sections
Facebook authentification
Contact form popup
Event card component
Update test coverage
Session model
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
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.
I will ask chloe again to make sure what are the other pages she expect and leave a comment on this issue tomorrow.
SEO
Booking section
Install money-rails gem
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
Landing Page
Design Mailer layout and user confirmation and recovery email
Bookings controller
- generate controller with create and update actions
- add resources to routes
Stripe refund button
Design Stripe card
This part of Stripe is modifiable by changing some attributes in the following controller's stripe_checkout_session
method.
If someone wanna look into that and make a nice one with a picture, a description and stuff like that go for it !
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.