wolfy64 / sjparks Goto Github PK
View Code? Open in Web Editor NEWA Text Notification Service for San Jose Parks and Recreations Department for subscribed users.
Home Page: https://sjparks.herokuapp.com/
A Text Notification Service for San Jose Parks and Recreations Department for subscribed users.
Home Page: https://sjparks.herokuapp.com/
Looks like it has all the components. Does it need to be connected to the dashboard and tested?
To keep the backend as simple as possible I commented some lines of codes.
Please kindly review it
Need to finish this feature for the Home Page
Add Tests for Home Page
What is this index for?
On the request /api/parks
when I retrieve parks
we don't have the success attribute to true/false
(2) [{…}, {…}]
0:
active: true
code: "001"
createdAt: "2019-02-16T00:58:59.315Z"
messageLogs: []
name: "Park Name B"
subscriptionLogs: []
updatedAt: "2019-02-16T00:58:59.315Z"
__v: 0
_id: "5c75da5c17d8ea58f7ce528e"
__proto__: Object
1: {active: true, subscriptionLogs: Array(0), messageLogs: Array(0), _id: "5c67605324ba7b4862af14e6", name: "Park Name A", …}
length: 2
__proto__: Array(0)
For the field Search by Park Name
it search by code
We should update the phone picture that shows a Samsung phone with a Iphone screen
What needs to get done here?
`
//register: storing name, email and password and redirecting to home page after signup
exports.newUser = function (request, response) {
// bcrypt.hash(request.body.psw + request.body.uname, saltRounds, function (err, hash) {
// user.findOne({
// Username: request.body.uname,
// Password: hash,
// admin: request.body.isAdmin
// }, { runValidators: true, context: 'query' }, function (err, user) {
// // I'm not sure exactly what happens if it finds NO users are found, as such I will assume a "NULL"might be returned
// if (err || !user) {
// user.create({
// username: request.body.usname,
// password: hash,
// admin: request.body.isAdmin,
// notes: request.body.eNts
// }).then(() => {
// console.log('PASS: created new user')
// // TODO not sure what to do in here
// });
// return response.redirect('/admin');
// }
// });
// });
}
`
Add a new function that check the phone number is a US valid phone number and return an boolean
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.