vakra-front's People
vakra-front's Issues
Create navbar
Style ShortBooking component
Admin user authentication
Create login component where users can log in (No registration! Adding new users is done via admin panel)
https://strapi.io/documentation/3.0.0-beta.x/plugins/users-permissions.html#token-usage
Login returns JWT token that should be stored in localStorage.
After logging in with admin user, they will be redirected automatically to admin page
Admin view component should be custom component PrivateRoute that can only be accessed when user has signed up.
Acceptance criteria: Create authentication, admin user, empty admin page
Add translation
Accepteance criteria: After changing the flag in the navbar, language will change accordingly
Research what library to use, or create our own method
For example: https://github.com/i18next/react-i18next
DatePicker check booked dates
Make get requests to /bookings
Mark all corresponding dates red that have been booked
Calculate amount of houses - if 3 bookings have been made but there are in total of 5 houses then that date wont be colored red because 2 houses are still available
Acceptance criteria: Dates in datepicker will be red if that date has already been booked
BookingShort POST
Create BookingShort component and its 4 child components ->
- Book now button
- startDateSelect
- endDateSelect
- VisitorsSelect
Create necessary field in Strapi.
Create endpoints
Create functionality
Acceptance criteria: Book now button will POST Booking into BE.
Styling will be done in issue #1
Add Recaptcha when creating new booking
Acceptance criteria: User must confirm themselves with recaptcha before they can submit a new booking
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.