All Questions
Tagged with express.js api
11 questions
2
votes
0
answers
46
views
Tiny REST API for making CRUD operations on list of posts
This is not a question related to a bug.I've just created a very tiny node.js/express API for education purposes.
I've created a very little ...
2
votes
1
answer
307
views
Using Node.js, Express, and Express Router to implement a very simple REST API
To learn the ropes of Node.js and Express, I'm trying to implement a very simple REST API. The API says what it should do instead of doing it, so I can focus on the framework's structure. The ...
2
votes
1
answer
64
views
Express Rest API Async and Scaling
I am currently learning how to create nodejs express rest api using async making it fully scaleable and secure.
My goal is to ensure maximum functionality and speed, currently I am using MVC ...
1
vote
1
answer
104
views
Avoid existSync function on Node.js - Express API controller
I have many json files that I want to serve through an API. The json files look something like this:
...
4
votes
1
answer
2k
views
Node.js/Express middleware to relay requests to various APIs
I am creating a nodejs middleware server that will handle api transactions from a frontend and relay them to various api's (internal and external). The primary goal is to hide api keys from the ...
2
votes
1
answer
457
views
Beginner Node.js app using Heroku w/ Mailchimp API
I'd like some feedback on the readability and style of the following code. It's a simple Node.js app that uses the Mailchimp API to add emails to a list. The client side handles SVGs, sign-up ...
3
votes
1
answer
123
views
API Implementation and Architecture
I recently put together an Express/Node API that consumes and transforms an additional third party API.
And while everything is working great, I feel there may be ways to improve the architecture ...
3
votes
1
answer
151
views
A UNIX timestamp microservice
I have made a small timestamp microservice that converts from UNIX time to a natural language date, and vice versa. Please let me know of anything I could do better.
Here is a demo. Here is the time....
2
votes
1
answer
254
views
A neighborhood map of things to do and eat in Downtown Las Vegas
I have been coding in javascript for almost a year now, and I would like your input on what I could do better. Also, any tips for organizing code a little better? Do you use MVC for every project? ...
1
vote
1
answer
636
views
Get data from external API
app.js
var employees = require('../models/employees');
employees.read(req.params.id, function(body) {
console.log(body.firstName);
});
models/employees
<...
1
vote
1
answer
123
views
RESTful backend API for user account
I have made a RESTful API built with Node.js, Express, Basic-auth and Mongoose. it will respond JSON.
This is the folder structure:
...